PostSharp6.5//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.5.13.0 (6.5.13.0)
Syntax
C#
public Action<SerilogLogRecordBuilder, LogEvent> LogEventEnricher { get; set; }

Property Value

Type: Action<SerilogLogRecordBuilder, LogEvent>
See Also