Represents a property (a name, a value and a few options).
Namespace: Flashtrace.Records
Assembly: Flashtrace.dll
Syntax
public sealed class LoggingPropertyConstructors
| Name | Description |
|---|---|
| LoggingProperty(string, Func<object>) | Initializes a new instance of the LoggingProperty class specifying a dynamic value. |
| LoggingProperty(string, object?) | Initializes a new instance of the LoggingProperty class specifying a constant value. |
Properties
| Name | Description |
|---|---|
| Formatter | Gets or sets the formatter used to render the Value as a string. By default, the default formatter for the property value type is used. |
| IsBaggage | Gets or sets a value indicating whether the property is cross-process. The default value is |
| IsInherited | Gets or sets a value indicating whether the property is inherited from the parent activity to children activities and messages. The default value is |
| IsRendered | Gets or sets a value indicating whether the property will be included in the log message. The default value is |
| Name | Gets the property name. |
| Value | Gets the property value. The property is never rendered when the value is |
Methods
| Name | Description |
|---|---|
| ToString() |