TextLogRecordBuilder.WriteProperty Method (LoggingProperty, Object, Int32) |
Note: This API is now obsolete.
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: 2023.0.3.0 (2023.0.3.0)
C#
[ObsoleteAttribute("Implement the other overload.", true)] 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.