Constructor LoggingPropertyOptions
LoggingPropertyOptions(Boolean, Boolean, Boolean, Boolean, IFormatter)
Initializes a new LoggingPropertyOptions.
Declaration
public LoggingPropertyOptions(bool isRendered = false, bool isInherited = false, bool isBaggage = false, bool isIgnored = false, IFormatter formatter = null)
Parameters
Type | Name | Description |
---|---|---|
Boolean | isRendered | Determines whether the property will be included in the log message. The default value is |
Boolean | isInherited | Determines whether the property is inherited from the parent activity to children activities and messages. The default value is |
Boolean | isBaggage | Determines whether the property is cross-process. The default value is |
Boolean | isIgnored | Determines whether this property must be ignored by the VisitProperties<TVisitorState>(Object, ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions) method. |
IFormatter | formatter | The formatter to be used to render the property value. |