Open sandboxFocus

Class Log4NetLoggingTypeSource

Inheritance
Log4NetLoggingTypeSource
Namespace: PostSharp.Patterns.Diagnostics.Backends.Log4Net
Assembly: PostSharp.Patterns.Diagnostics.Backends.Log4Net.dll
Syntax
public class Log4NetLoggingTypeSource : LoggingTypeSource, IContextLocalLogger, ILoggerExceptionHandler

Constructors

Name Description
Log4NetLoggingTypeSource(LoggingNamespaceSource, string, Type)

Initializes a new instance of the Log4NetLoggingTypeSource class.

Log4NetLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new instance of the Log4NetLoggingTypeSource class.

Methods

Name Description
IsBackendEnabled(LogLevel)

Checks whether logging is enabled in the backend for the given level.