PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Serilog Namespace / Serilog­Logging­Backend­Options Class / Serilog­Logging­Backend­Options Properties / Serilog­Logging­Backend­Options.​Log­Event­Enricher Property

SerilogLoggingBackendOptions.LogEventEnricher Property

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

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public Action<SerilogLogRecordBuilder, LogEvent> LogEventEnricher { get; set; }

Property Value

Type: Action<SerilogLogRecordBuilder, LogEvent>
See Also