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 it a bit mask. When a bit (i.e. a value of the SemanticParameterKind) is set to 1, a Serilog parameter will be used. Otherwise, the parameter will be expanded into plain text.

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

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