PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​SerilogSerilog­Logging­Type­Source
Open sandboxFocus

SerilogLoggingTypeSource Class

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