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

Log4NetLoggingBackend Constructor

Log4NetLoggingBackend()

Initializes a new Log4NetLoggingBackend.

Declaration
public Log4NetLoggingBackend()
Remarks

Throws PlatformNotSupportedException on platforms where log4net does not support default repositories.

Log4NetLoggingBackend(ILoggerRepository)

Initializes a new Log4NetLoggingBackend.

Declaration
public Log4NetLoggingBackend(ILoggerRepository repository)
Parameters
Type Name Description
log4net.Repository.ILoggerRepository repository

Repository to store loggers in.