Open sandboxFocus

Constructor SerilogLoggingBackend

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 null to use the globally-shared logger.

SerilogLoggingBackend()

Initializes a new SerilogLoggingBackend and uses the globally-shared Serilog.ILogger.

Declaration
public SerilogLoggingBackend()