Serilog by Serilog Contributors

<PackageReference Include="Serilog" Version="2.8.0-dev-01042" />

 LoggerEnrichmentConfiguration

Controls enrichment configuration.

Enrich log events with properties from LogContext.

Specifies one or more enrichers that may add properties dynamically to log events.

public LoggerConfiguration With<TEnricher>() where TEnricher : ILogEventEnricher

Specifies an enricher that may add properties dynamically to log events.

public LoggerConfiguration WithProperty(string name, object value, bool destructureObjects = false)

Include the specified property value in all events logged to the logger.