Open sandboxFocus

Property SemanticParametersTreatedSemantically

SemanticParametersTreatedSemantically

Gets or sets the kinds of semantic parameters that must be mapped to Serilog semantic parameters.

Declaration
public SemanticParameterKind SemanticParametersTreatedSemantically { get; set; }
Property Value
Type Description
SemanticParameterKind
Remarks

The value of this property is a bit mask. Each bit corresponds to a value of the SemanticParameterKind enumeration. When a bit is set to 1, a Serilog parameter will be used. Otherwise, the parameter will be expanded into plain text.

Serilog semantic parameters have a significant cost, so they must be used with care.

The default value of this property is equal to the SemanticParametersRequiredTreatedSemantically constant.