NLogLoggingBackend Class |
PostSharp.Patterns.Diagnostics.LoggingBackend
PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
PostSharp.Patterns.Diagnostics.Backends.NLog.NLogLoggingBackend
Namespace: PostSharp.Patterns.Diagnostics.Backends.NLog
Assembly: PostSharp.Patterns.Diagnostics.Backends.NLog (in PostSharp.Patterns.Diagnostics.Backends.NLog.dll) Version: 6.5.16.0 (6.5.16.0)
public class NLogLoggingBackend : TextLoggingBackend
The NLogLoggingBackend type exposes the following members.
Name | Description | |
---|---|---|
NLogLoggingBackend() |
Initializes a new NLogLoggingBackend.
| |
NLogLoggingBackend(LogFactory) |
Initializes a new NLogLoggingBackend and specifies the target LogFactory.
|
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.) | |
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.) | |
LogFactory |
Gets the LogFactory passed to the constructor of the current NLogLoggingBackend, or null if no logger was passed during the instantiation of the current NLogLoggingBackend.
| |
Options |
Gets the back-end options.
|