<PackageReference Include="Serilog" Version="4.3.2-dev-02419" />

Serilog.Configuration.LoggerAuditSinkConfiguration

Controls audit sink configuration.
public LoggerConfiguration Logger(Action<LoggerConfiguration> configureLogger, LogEventLevel restrictedToMinimumLevel = 0, LoggingLevelSwitch levelSwitch = null)

Audit log events to a sub-logger, where further processing may occur. Events through the sub-logger will be constrained by filters and enriched by enrichers that are active in the parent. A sub-logger cannot be used to log at a more verbose level, but a less verbose level is possible.

public LoggerConfiguration Logger(ILogger logger, LogEventLevel restrictedToMinimumLevel = 0)

Audit log events to a sub-logger, where further processing may occur. Events through the sub-logger will be constrained by filters and enriched by enrichers that are active in the parent. A sub-logger cannot be used to log at a more verbose level, but a less verbose level is possible.

public LoggerConfiguration Sink(ILogEventSink logEventSink, LogEventLevel restrictedToMinimumLevel = 0, LoggingLevelSwitch levelSwitch = null)

Audit log events to the specified ILogEventSink.

public LoggerConfiguration Sink<TSink>(LogEventLevel restrictedToMinimumLevel = 0, LoggingLevelSwitch levelSwitch = null) where TSink : ILogEventSink

Audit log events to the specified ILogEventSink.