PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​MicrosoftMicrosoft­Logging­Type­Source
Open sandboxFocus

MicrosoftLoggingTypeSource Class

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

MicrosoftLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new MicrosoftLoggingTypeSource.

Methods

Name Description
IsBackendEnabled(LogLevel)

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