PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Add­Hidden­Custom­Parameter(T) Method

TextLogRecordBuilder.AddHiddenCustomParameter<T> Method

Method invoked by WriteCustomParameter<T>(Int32, ArraySegment<Char>, T, IFormatter<T>) when for parameter mode is Hidden. The default implementation does not do anything.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.10.0 (6.6.10.0)
Syntax
C#
protected virtual void AddHiddenCustomParameter<T>(
	int index,
	CharSpan parameterName,
	T value,
	 in CustomLogParameterOptions options,
	IFormatter<T> formatter
)

Parameters

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

Type Parameters

T
Type of the parameter value.
See Also