- LoggerEnrichmentProperties
Class
Constants to use when configuring Serilog enrichers.- Assembly
Field
Use the assembly name as a Serilog enrichment property.
- Assembly
- SerilogExtensions
Class
- UseSerilog(this IHostApplicationBuilder, Action<IHostApplicationBuilder,IServiceProvider,LoggerConfiguration>, bool, bool)
Method
Sets Serilog as the logging provider.
- UseSerilog(this IHostApplicationBuilder, Action<IHostApplicationBuilder,IServiceProvider,LoggerConfiguration>, bool, bool)
- UtcTimestampEnricher
Class
Serilog enricher that converts the log event's timestamp to UTC.- Enrich(LogEvent, ILogEventPropertyFactory)
Method
Enrich the log event with a UTC timestamp.
- Enrich(LogEvent, ILogEventPropertyFactory)