GetLogger
Function mapping a SerilogLoggingTypeSource to a Serilog ILogger
.
The default behavior is to call typeSource.Backend.Logger.ForContext( typeSource.SourceType )
.
Declaration
public Func<SerilogLoggingTypeSource, ILogger> GetLogger { get; set; }
Property Value
Type | Description |
---|---|
Func<SerilogLoggingTypeSource, ILogger> |