Open sandboxFocus

Class ConsoleLoggingTypeSource

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

Constructors

Name Description
ConsoleLoggingTypeSource(LoggingNamespaceSource, string)

Initializes a new ConsoleLoggingTypeSource.

ConsoleLoggingTypeSource(LoggingNamespaceSource, string, Type)

Initializes a new ConsoleLoggingTypeSource.

ConsoleLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new ConsoleLoggingTypeSource.

Methods

Name Description
IsBackendEnabled(LogLevel)

Checks whether logging is enabled in the back-end for the given level.