Logger.IsEnabled Method |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
public bool IsEnabled( LogLevel level )
Parameters
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
A LogLevel.
Return Value
Type: Booleantrue if logging is enabled for level, otherwise false.