I heard the .NET Framework tracing and logging mechanisms are available through two classes in the System.Diagnostics namespace: Trace and Debug. What is the difference between them?
Both classes contain the same properties and methods. The difference between them is that Debug is available only when the application runs in Debug mode, while Trace is available in both Debug and Release modes. This means that the code you write using the Debug class cannot be executed in the Release configuration.
Related Questions
- I heard the .NET Framework tracing and logging mechanisms are available through two classes in the System.Diagnostics namespace: Trace and Debug. What is the difference between them?
- I Heard Tapping Paw Pet Sitters Offers No-Cost Dog Training Classes. Is That True?
- What kinds of logging/reporting mechanisms are offered with SelfReliant?