ConsoleLoggingBackend Class |
Logging back-end that logs to Out.

System.Object
PostSharp.Patterns.Diagnostics.LoggingBackend
PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
PostSharp.Patterns.Diagnostics.Backends.Console.ConsoleLoggingBackend
PostSharp.Patterns.Diagnostics.LoggingBackend
PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
PostSharp.Patterns.Diagnostics.Backends.Console.ConsoleLoggingBackend
Namespace: PostSharp.Patterns.Diagnostics.Backends.Console
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.7.12.0 (6.7.12.0)

C#
public class ConsoleLoggingBackend : TextLoggingBackend
The ConsoleLoggingBackend type exposes the following members.

Name | Description | |
---|---|---|
![]() | ConsoleLoggingBackend |
Initializes a new ConsoleLoggingBackend.
|

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.
|

