Open sandboxFocus

Method AddHiddenCustomParameter

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

Method invoked by WriteCustomParameter<T>(int, 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
int index
CharSpan parameterName
T value
CustomLogParameterOptions options
IFormatter<T> formatter
Type Parameters
Name Description
T

Type of the parameter value.