LogRecordBuilder.WriteCustomParameter<T> Method (Int32, CharSpan, T, CustomLogParameterOptions) |
Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.5.19.0 (6.5.19.0)
public void WriteCustomParameter<T>( int index, in CharSpan parameterName, T value, in CustomLogParameterOptions options )
Parameters
- index
- Type: System.Int32
Index of the custom parameter in the formatting string. - parameterName
- Type: PostSharp.Patterns.Formatters.CharSpan
Name of the custom parameter. - value
- Type: T
Value of the custom parameter. - options
- Type: PostSharp.Patterns.Diagnostics.Custom.CustomLogParameterOptions
Options.
Type Parameters
- T
- Type of the custom parameter.