PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLogging­Property­Options­Attribute
Open sandboxFocus

LoggingPropertyOptionsAttribute Class

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

Inheritance
System.Object
LoggingPropertyOptionsAttribute
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class LoggingPropertyOptionsAttribute : Attribute

Constructors

Name Description
LoggingPropertyOptionsAttribute()

Properties

Name Description
IsBaggage

Specifies that this property must be carried in cross-process requests.

IsIgnored

Specifies that this property is ignored, i.e. it should not be mapped to a logging property.

IsInherited

Specifies that this property is inherited by child contexts.

IsRendered

Specifies that this property must be included into the message.

Methods

Name Description
ToOptions()

Converts the current attribute into a LoggingPropertyOptions.