TraceLevel

TraceLevel enum

Specifies what messages to output for the System.Diagnostics.Debug, System.Diagnostics.Trace and System.Diagnostics.TraceSwitch classes.

enum class TraceLevel

Values

NameValueDescription
Off0Output no tracing and debugging messages.
Error1Output error-handling messages.
Warning2Output warnings and error-handling messages.
Info3Output informational messages, warnings, and error-handling messages.
Verbose4Output all debugging and tracing messages.

See Also