Logging back-end for log4net.
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.Log4Net
Assembly: PostSharp.Patterns.Diagnostics.Backends.Log4Net.dll
Syntax
public class Log4NetLoggingBackend : TextLoggingBackend, IDisposable
Constructors
Name | Description |
---|---|
Log4NetLoggingBackend(ILoggerRepository) | Initializes a new Log4NetLoggingBackend. |
Properties
Name | Description |
---|---|
Options | Gets the back-end options. |
Repository | Gets the log4net repository from which the loggers are retrieved. |
Methods
Name | Description |
---|---|
CreateRecordBuilder() | Creates a new LogRecordBuilder. |
CreateTypeSource(LoggingNamespaceSource, Type) | Creates a LoggingTypeSource for the given role and type. |
CreateTypeSourceBySourceName(LoggingNamespaceSource, string) | Creates a LoggingTypeSource for the given role and logger name. |
GetTextBackendOptions() | Gets the options. |