Open sandboxFocus

Constructor SerilogLoggingBackend

SerilogLoggingBackend(ILogger)

Initializes a new instance of the SerilogLoggingBackend class 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 instance of the SerilogLoggingBackend class that uses the globally shared Serilog.ILogger.

Declaration
public SerilogLoggingBackend()