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.8.6.0 (6.8.6.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. | |
SourceName |
Gets the name that this source is associated with. This can't be null.
| |
Type | Obsolete.
Gets the Type that this source is associated with. This may be null if the source is based on a logger name.
|
Name | Description | |
---|---|---|
GetLocalState |
Gets the LoggingSourceLocalState resolved for the current execution context.
| |
IsEnabled |