PostSharpEventSource.IsEnabled Method |
Checks whether logging for the given level is enabled.
Namespace: PostSharp.Patterns.Diagnostics.Backends.EventSource
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public bool IsEnabled( EventLevel level )
Parameters
- level
- Type: System.Diagnostics.Tracing.EventLevel