PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Serilog Namespace/Serilog­Logging­Backend Class/Serilog­Logging­Backend Properties

SerilogLoggingBackend Properties

The SerilogLoggingBackend type exposes the following members.

Properties
  NameDescription
Public propertyCurrentContext
Gets the current LoggingContext.
(Inherited from LoggingBackend.)
Public propertyCurrentContextLocalConfiguration
Gets the LoggingContextLocalConfiguration for the current execution. Returns DefaultContextLocalConfiguration unless the context has been overwritten by WithContextLocalConfiguration(LoggingContextLocalConfiguration).
(Inherited from LoggingBackend.)
Public propertyDefaultContextLocalConfiguration
Gets the default LoggingContextLocalConfiguration, used unless it has been overwritten by the WithContextLocalConfiguration(LoggingContextLocalConfiguration) for the current execution context.
(Inherited from LoggingBackend.)
Public propertyDefaultVerbosity (Inherited from LoggingBackend.)
Public propertyIsCorrupted
Determines whether the current LoggingBackend is in a state where it can no longer be recovered. This typically happens when an exception occurs while disabling or enabling.
(Inherited from LoggingBackend.)
Public propertyIsDisposed
Determines whether the current LoggingBackend has been disposed.
(Inherited from LoggingBackend.)
Public propertyIsEnabled
Determines whether the current LoggingBackend is currently enabled. This property has precedence over, and does not affect, the minimal log levels set through the SetLevel(LogLevel) method.
(Inherited from LoggingBackend.)
Public propertyLogger
Gets the ILogger passed to the constructor of the current SerilogLoggingBackend, or the globally-shared ILogger if no logger was passed during the instantiation of the current SerilogLoggingBackend.
Public propertyMessageTemplateCacheSize
Gets the number of items in the message template cache.
Public propertyOptions
Gets the back-end options.
See Also