PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Write­Property Method

TextLogRecordBuilder.WriteProperty Method

Appends the name and value of a property to the current StringBuilder.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
protected virtual void WriteProperty(
	LoggingProperty property,
	Object value,
	int index
)

Parameters

property
Type: PostSharp.Patterns.Diagnostics.LoggingProperty
The LoggingProperty.
value
Type: System.Object
The evaluated property value.
index
Type: System.Int32
The index of the property.
See Also