TextLogRecordBuilder.WriteProperty<T> Method (String, T, Int32, LoggingPropertyOptions) |
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.8.6.0 (6.8.6.0)
C#
protected virtual void WriteProperty<T>( string name, T value, int index, in LoggingPropertyOptions options )
Parameters
- name
- Type: System.String
Name of the property - value
- Type: T
The evaluated property value. - index
- Type: System.Int32
The index of the property. - options
- Type: PostSharp.Patterns.Diagnostics.Custom.LoggingPropertyOptionsInAttribute
Options of the property
Type Parameters
- T