Stores the state of a LoggingAbstractSource for the current execution context.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public readonly struct LoggingSourceLocalState
Properties
Name | Description |
---|---|
Backend | Gets the resolved LoggingBackend. |
Source | Gets the resolved LoggingTypeSource. |
Methods
Name | Description |
---|---|
IsEnabled(LogLevel) | Determines whether logging is enabled for a specified LogLevel. |