CommonLoggingLoggingTypeSource.IsBackendEnabled Method |
Checks whether logging is enabled in the back-end for the given level.
Namespace: PostSharp.Patterns.Diagnostics.Backends.CommonLogging
Assembly: PostSharp.Patterns.Diagnostics.Backends.CommonLogging (in PostSharp.Patterns.Diagnostics.Backends.CommonLogging.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected override bool IsBackendEnabled( LogLevel level )
Parameters
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
Return Value
Type: BooleanThe result of this method is cached. To invalidate the cache, call the Refresh() method.