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

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

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

Parameters

index
Type: System.Int32
parameterName
Type: PostSharp.Patterns.Formatters.CharSpan
value
Type: T
options
Type: PostSharp.Patterns.Diagnostics.Custom.CustomLogParameterOptions

Type Parameters

T
See Also