EventSourceLoggingBackend Class |
PostSharp.Patterns.Diagnostics.LoggingBackend
PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
PostSharp.Patterns.Diagnostics.Backends.EventSource.EventSourceLoggingBackend
Namespace: PostSharp.Patterns.Diagnostics.Backends.EventSource
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 6.5.19.0 (6.5.19.0)
public class EventSourceLoggingBackend : TextLoggingBackend
The EventSourceLoggingBackend type exposes the following members.
Name | Description | |
---|---|---|
EventSourceLoggingBackend() |
Initializes a new EventSourceLoggingBackend with the default event source.
| |
EventSourceLoggingBackend(PostSharpEventSource) |
Initializes a new EventSourceLoggingBackend and specifies a custom PostSharpEventSource.
|
Name | Description | |
---|---|---|
CurrentContext |
Gets the current LoggingContext.
(Inherited from LoggingBackend.) | |
CurrentContextLocalConfiguration |
Gets the LoggingContextLocalConfiguration for the current execution. Returns DefaultContextLocalConfiguration
unless the context has been overwritten by WithContextLocalConfiguration(LoggingContextLocalConfiguration).
(Inherited from LoggingBackend.) | |
DefaultContextLocalConfiguration |
Gets the default LoggingContextLocalConfiguration, used unless it has been overwritten by the WithContextLocalConfiguration(LoggingContextLocalConfiguration)
for the current execution context.
(Inherited from LoggingBackend.) | |
DefaultVerbosity |
Gets the LoggingVerbosityConfiguration of the DefaultContextLocalConfiguration.
(Inherited from LoggingBackend.) | |
EventSource |
The EventSource to which events will be written.
| |
IsCorrupted |
Determines whether the current LoggingBackend is in a state where it can no longer be recovered. This typically happens when
an exception occurs while disabling or enabling.
(Inherited from LoggingBackend.) | |
IsDisposed |
Determines whether the current LoggingBackend has been disposed.
(Inherited from LoggingBackend.) | |
IsEnabled |
Determines whether the current LoggingBackend is currently enabled. This property has precedence
over, and does not affect, the minimal log levels set through the SetLevel(LogLevel) method.
(Inherited from LoggingBackend.) | |
Options |
Gets the back-end options.
|