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

SerilogLoggingBackend.Logger Property

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.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.6.7.0 (6.6.7.0)
Syntax
C#
public ILogger Logger { get; }

Property Value

Type: ILogger
See Also