LoggingPropertyOptionsAttribute Class |
Specifies the options (LoggingPropertyOptions) of a logging property that is
expresses as a public property of a CLR type.
System.Object
System.Attribute
PostSharp.Patterns.Diagnostics.Custom.LoggingPropertyOptionsAttribute
System.Attribute
PostSharp.Patterns.Diagnostics.Custom.LoggingPropertyOptionsAttribute
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class LoggingPropertyOptionsAttribute : Attribute
The LoggingPropertyOptionsAttribute type exposes the following members.
Name | Description | |
---|---|---|
LoggingPropertyOptionsAttribute | Initializes a new instance of the LoggingPropertyOptionsAttribute class |
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.
|
Name | Description | |
---|---|---|
ToOptions |
Converts the current attribute into a LoggingPropertyOptions.
|