PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Common­LoggingCommon­Logging­Logging­Type­Source
Open sandboxFocus

CommonLoggingLoggingTypeSource Class

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 CommonLoggingLoggingTypeSource.

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 back-end for the given level.