PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Logging­Property­Options­Attribute Class

LoggingPropertyOptionsAttribute Class

Specifies the options (LoggingPropertyOptions) of a logging property that is expresses as a public property of a CLR type.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Patterns.Diagnostics.Custom.LoggingPropertyOptionsAttribute

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
Syntax
C#
public sealed class LoggingPropertyOptionsAttribute : Attribute

The LoggingPropertyOptionsAttribute type exposes the following members.

Constructors
  NameDescription
Public methodLoggingPropertyOptionsAttribute
Initializes a new instance of the LoggingPropertyOptionsAttribute class
Properties
  NameDescription
Public propertyIsBaggage
Specifies that this property must be carried in cross-process requests.
Public propertyIsIgnored
Specifies that this property is ignored, i.e. it should not be mapped to a logging property.
Public propertyIsInherited
Specifies that this property is inherited by child contexts.
Public propertyIsRendered
Specifies that this property must be included into the message.
Methods
  NameDescription
Public methodToOptions
Converts the current attribute into a LoggingPropertyOptions.
See Also