PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Property Class / Logging­Property Properties

LoggingProperty Properties

The LoggingProperty type exposes the following members.

Properties
  NameDescription
Public propertyFormatter
Gets or sets the formatter used to render the Value as a string. By default, the default formatter for the property value type is used.
Public propertyIsBaggage
Determines whether the property is cross-process. The default value is false.
Public propertyIsInherited
Determines whether the property is inherited from the parent activity to children activities and messages. The default value is true.
Public propertyIsRendered
Determines whether the property will be included in the log message. The default value is false.
Public propertyName
Gets the property name.
Public propertyValue
Gets the property value. The property is never rendered when the value is null. If the LoggingProperty has been initialized with a Func<object>, this property will evaluate the delegate every time the property getter is invoked.
See Also