PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Write­Custom­Parameter Method/Text­Log­Record­Builder.​Write­Custom­Parameter(T) Method (Int32, Char­Span, T, Custom­Log­Parameter­Options, IFormatter(T))

TextLogRecordBuilder.WriteCustomParameter<T> Method (Int32, CharSpan, T, CustomLogParameterOptions, IFormatter<T>)

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public override void WriteCustomParameter<T>(
	int index,
	 in CharSpan parameterName,
	T value,
	 in CustomLogParameterOptions options,
	IFormatter<T> formatter
)

Parameters

index
Type: System.Int32
parameterName
Type: PostSharp.Patterns.Formatters.CharSpanInAttribute
value
Type: T
options
Type: PostSharp.Patterns.Diagnostics.Custom.CustomLogParameterOptionsInAttribute
formatter
Type: PostSharp.Patterns.Formatters.IFormatter<T>

Type Parameters

T
See Also