The LoggingTypeSource for MicrosoftLoggingBackend.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly: PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll
Syntax
public class MicrosoftLoggingTypeSource : LoggingTypeSource, IContextLocalLogger, ILoggerExceptionHandlerConstructors
| 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. |