Options for SerilogLoggingBackend.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly: PostSharp.Patterns.Diagnostics.Backends.Serilog.dll
Syntax
public class SerilogLoggingBackendOptions : TextLoggingBackendOptions
Constructors
Name | Description |
---|---|
SerilogLoggingBackendOptions() | Initializes a new SerilogLoggingBackendOptions. |
Fields
Name | Description |
---|---|
SemanticParametersRequiredTreatedSemantically | Kinds of semantic parameters that are required to be mapped to Serilog parameters. This is the default value of the SemanticParametersTreatedSemantically property.
This constant is set to |
Properties
Name | Description |
---|---|
GetLogger | Function mapping a SerilogLoggingTypeSource to a Serilog |
IncludedSpecialProperties | Gets or sets the special properties that should be added to the list of event properties. |
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. |
SemanticParametersTreatedSemantically | Gets or sets the kinds of semantic parameters that must be mapped to Serilog semantic parameters. |
UseSerilogFormatters | Determines whether Serilog formatters should be used instead of PostSharp formatters. The default value is |