PostSharp6.2/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 of remove properties to 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.2.11.0 (6.2.11.0)
Syntax
C#
public Action<SerilogLogRecordBuilder, LogEvent> LogEventEnricher { get; set; }

Property Value

Type: Action<SerilogLogRecordBuilder, LogEvent>
See Also