Serilog enricher that converts the log event's timestamp to UTC.
public class UtcTimestampEnricher :
Serilog.Core.ILogEventEnricher
Inheritance System.Object 🡒 UtcTimestampEnricher
Implements Serilog.Core.ILogEventEnricher
Enrich the log event with a UTC timestamp.
public void Enrich(Serilog.Events.LogEvent logEvent, Serilog.Core.ILogEventPropertyFactory propertyFactory);
logEvent
Serilog.Events.LogEvent
The log event to enrich.
propertyFactory
Serilog.Core.ILogEventPropertyFactory
Factory for creating new properties to add to the event.
Implements Enrich(LogEvent, ILogEventPropertyFactory)