PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Log4NetLog4Net­Logging­Backend
Open sandboxFocus

Log4NetLoggingBackend Class

Logging back-end for log4net.

Inheritance
Log4NetLoggingBackend
Implements
IDisposable
Namespace: PostSharp.Patterns.Diagnostics.Backends.Log4Net
Assembly: PostSharp.Patterns.Diagnostics.Backends.Log4Net.dll
Syntax
public class Log4NetLoggingBackend : TextLoggingBackend

Constructors

Name Description
Log4NetLoggingBackend()

Initializes a new Log4NetLoggingBackend.

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.

Extension Methods

LoggingConfigurationManager.ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken)
LoggingConfigurationManager.StopAutoReloadConfigurationAsync(LoggingBackend)
LoggingConfigurationManager.ConfigureFromXmlAsync(LoggingBackend, Uri, CancellationToken)
LoggingConfigurationManager.ConfigureFromXml(LoggingBackend, XDocument, Boolean)
LoggingConfigurationManager.ConfigureFromXml(LoggingBackend, XElement, Boolean)
LoggingConfigurationManager.ResetConfiguration(LoggingBackend)