PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​SerilogSerilog­Logging­Backend­OptionsLog­Event­Enricher
Open sandboxFocus

SerilogLoggingBackendOptions.LogEventEnricher Property

LogEventEnricher

Gets or sets a delegate to a method that can add properties to or remove properties from the Serilog.Events.LogEvent immediately before it will be written to Serilog.

Declaration
public Action<SerilogLogRecordBuilder, LogEvent> LogEventEnricher { get; set; }
Property Value
Type Description
Action<SerilogLogRecordBuilder, Serilog.Events.LogEvent>