The LoggingTypeSource for SerilogLoggingBackend.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly: PostSharp.Patterns.Diagnostics.Backends.Serilog.dll
Syntax
public class SerilogLoggingTypeSource : LoggingTypeSource, IContextLocalLogger, ILoggerExceptionHandler
Constructors
Name | Description |
---|---|
SerilogLoggingTypeSource(LoggingNamespaceSource, string, Type) | Initializes a new SerilogLoggingTypeSource. |
SerilogLoggingTypeSource(LoggingNamespaceSource, Type) | Initializes a new SerilogLoggingTypeSource. |
Properties
Name | Description |
---|---|
Backend | Gets the parent SerilogLoggingBackend. |
Logger | Gets the Serilog.ILogger associated with the current SerilogLoggingTypeSource. |
Methods
Name | Description |
---|---|
IsBackendEnabled(LogLevel) | Checks whether logging is enabled in the back-end for the given level. |