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

Serilog.LoggerConfiguration

public class LoggerConfiguration
Configuration object for creating ILogger instances.

Configures sinks for auditing, instead of regular (safe) logging. When auditing is used, exceptions from sinks and any intermediate filters propagate back to the caller. Most callers should use WriteTo instead.

Configures destructuring of message template parameters.

Configures enrichment of LogEvents. Enrichers can add, remove and modify the properties associated with events.

Configures global filtering of LogEvents.

Configures the minimum level at which events will be passed to sinks. If not specified, only events at the Information level and above will be passed through.

Apply external settings to the logger configuration.

Configures the sinks that log events will be emitted to.

Construct a LoggerConfiguration.

Create a logger using the configured sinks, enrichers and minimum level.