PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders/Text­Log­Record­Builder/Add­Hidden­Custom­Parameter
Open sandboxFocus

Method AddHiddenCustomParameter

AddHiddenCustomParameter<T>(Int32, CharSpan, T, in CustomLogParameterOptions, IFormatter<T>)

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

Declaration
protected virtual void AddHiddenCustomParameter<T>(int index, CharSpan parameterName, T value, in CustomLogParameterOptions options, IFormatter<T> formatter)
Parameters
Type Name Description
Int32 index
CharSpan parameterName
T value
CustomLogParameterOptions options
IFormatter<T> formatter
Type Parameters
Name Description
T

Type of the parameter value.