LoggingAbstractSource Class |
Exposes the current LoggingTypeSource for a given role and Type.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.5.19.0 (6.5.19.0)
C#
public sealed class LoggingAbstractSource : ILogger2, ILogger, ILoggerExceptionHandler
The LoggingAbstractSource type exposes the following members.
Name | Description | |
---|---|---|
DefaultState |
Gets the default LoggingSourceLocalState, i.e. the state when there is the context-local configuration has
not been overridden by WithContextLocalConfiguration(LoggingContextLocalConfiguration).
| |
Role |
Gets the role.
| |
Source | Obsolete. | |
Type |
Gets the Type/
|
Name | Description | |
---|---|---|
GetLocalState |
Gets the LoggingSourceLocalState resolved for the current execution context.
| |
IsEnabled |