SerilogLoggingBackend(ILogger)
Initializes a new SerilogLoggingBackend and specifies the target Serilog.ILogger.
Declaration
public SerilogLoggingBackend(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | The Serilog.ILogger to which log records should be written, or |
SerilogLoggingBackend()
Initializes a new SerilogLoggingBackend and uses the globally-shared Serilog.ILogger.
Declaration
public SerilogLoggingBackend()