PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Serilog Namespace / Serilog­Parameter­Handling Enumeration

SerilogParameterHandling Enumeration

Determines how should Serilog parameters in Serilog messages be passed to PostSharp logging.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public enum SerilogParameterHandling
Members
  Member nameValueDescription
Default0 The default is PassParameterValues.
RenderParameters1 Parameters should be rendered to strings using Serilog formatting specifiers, and those strings should be passed to PostSharp Logging.
PassParameterValues0 Serilog formatting specifiers should be ignored, and the raw value of parameters passed to PostSharp Logging.
See Also