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: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
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.