Open sandboxFocus

Class LoggingPropertyOptionsAttribute

Specifies the options (LoggingPropertyOptions) of a logging property that is expresses as a public property of a CLR type.

Inheritance
LoggingPropertyOptionsAttribute
Namespace: Flashtrace.Records
Assembly: Flashtrace.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class LoggingPropertyOptionsAttribute : Attribute

Constructors

Name Description
LoggingPropertyOptionsAttribute()

Properties

Name Description
IsBaggage

Gets or sets a value indicating whether this property must be carried in cross-process requests.

IsIgnored

Gets or sets a value indicating whether this property is ignored, i.e. it should not be mapped to a logging property.

IsInherited

Gets or sets a value indicating whether this property is inherited by child contexts.

IsRendered

Gets or sets a value indicating whether this property must be included into the message.

Methods

Name Description
ToOptions()

Converts the current attribute into a LoggingPropertyOptions.