Log4NetLoggingBackend Class |
PostSharp.Patterns.Diagnostics.LoggingBackend
PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
PostSharp.Patterns.Diagnostics.Backends.Log4Net.Log4NetLoggingBackend
Namespace: PostSharp.Patterns.Diagnostics.Backends.Log4Net
Assembly: PostSharp.Patterns.Diagnostics.Backends.Log4Net (in PostSharp.Patterns.Diagnostics.Backends.Log4Net.dll) Version: 6.5.21.0 (6.5.21.0)
public class Log4NetLoggingBackend : TextLoggingBackend
The Log4NetLoggingBackend type exposes the following members.
Name | Description | |
---|---|---|
Log4NetLoggingBackend() |
Initializes a new Log4NetLoggingBackend.
| |
Log4NetLoggingBackend(ILoggerRepository) |
Initializes a new Log4NetLoggingBackend.
|
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.) | |
Options |
Gets the back-end options.
| |
Repository |
Gets the log4net repository from which the loggers are retrieved.
|