Microsoft
70-518 · Question #19
You are developing a Windows application by using Microsoft .NET Framework 4. You plan to design a diagnostic logging strategy that will be used in a production environment. You need to ensure that…
The correct answer is A. Trace. See the full explanation below for the reasoning.
Question
You are developing a Windows application by using Microsoft .NET Framework 4. You plan to design a diagnostic logging strategy that will be used in a production environment. You need to ensure that the strategy meets the following requirements:
- Enables or disables diagnostic messages by using an application
configuration option.
- Changes the level of detail in the diagnostic messages without
recompiling the application. Which class should you use?
Options
- ATrace
- BDebug
- CContract
- DEventLog
How the community answered
(23 responses)- A83% (19)
- B4% (1)
- C4% (1)
- D9% (2)
Community Discussion
No community discussion yet for this question.