LogRecordBuilder.WriteCustomParameter<T> Method (Int32, ArraySegment<Char>, T, IFormatter<T>) |
Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.14.0 (6.6.14.0)
public abstract void WriteCustomParameter<T>( int index, ArraySegment<char> parameterName, T value, IFormatter<T> formatter )
Parameters
- index
- Type: System.Int32
Index of the custom parameter in the formatting string. - parameterName
- Type: System.ArraySegment<Char>
Name of the custom parameter. - value
- Type: T
Value of the custom parameter. - formatter
- Type: PostSharp.Patterns.Formatters.IFormatter<T>
The formatter to be used to format value.
Type Parameters
- T
- Type of the custom parameter.