IContextLocalLogger.IsEnabled Method |
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.21.0 (6.5.21.0)
bool IsEnabled( LogLevel level )
Parameters
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
A record level (or severity).
Return Value
Type: Booleantrue if logging is enabled for level, otherwise false.