Logging backend for Common.Logging.
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.CommonLogging
Assembly: PostSharp.Patterns.Diagnostics.Backends.CommonLogging.dll
Syntax
public class CommonLoggingLoggingBackend : TextLoggingBackend, IDisposableRemarks
To use this backend, configure Common.Logging, for example by setting LogManager.Adapter, then assign a new instance
to DefaultBackend when the application starts.
Constructors
| Name | Description |
|---|---|
| CommonLoggingLoggingBackend() | Initializes a new instance of the CommonLoggingLoggingBackend class. |
Properties
| Name | Description |
|---|---|
| Options | Gets the backend options. |
Methods
| Name | Description |
|---|---|
| CreateRecordBuilder() | Creates a new LogRecordBuilder. |
| CreateTypeSource(LoggingNamespaceSource, Type) | Creates a LoggingTypeSource for the given role and type. |
| GetTextBackendOptions() | Gets the options. |