Open sandboxFocus

Class MicrosoftLoggingTypeSource

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

Constructors

Name Description
MicrosoftLoggingTypeSource(LoggingNamespaceSource, string, Type)

Initializes a new instance of the MicrosoftLoggingTypeSource class.

MicrosoftLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new instance of the MicrosoftLoggingTypeSource class.

Methods

Name Description
IsBackendEnabled(LogLevel)

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