Open sandboxFocus

Class CommonLoggingLoggingTypeSource

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

Constructors

Name Description
CommonLoggingLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new instance of the CommonLoggingLoggingTypeSource class.

Properties

Name Description
Logger

Gets the ILog to which messages will be written.

Methods

Name Description
IsBackendEnabled(LogLevel)

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