Open sandboxFocus

Class SerilogLoggingTypeSource

Inheritance
SerilogLoggingTypeSource
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 instance of the SerilogLoggingTypeSource class.

SerilogLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new instance of the SerilogLoggingTypeSource class.

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 backend for the given level.