AddHiddenCustomParameter<T>(int, CharSpan, T, in CustomLogParameterOptions, IFormatter<T>)
Method invoked by WriteCustomParameter<T>(int, ArraySegment<char>, T, IFormatter<T>) when the parameter mode is Hidden. The default implementation does nothing.
Declaration
protected virtual void AddHiddenCustomParameter<T>(int index, CharSpan parameterName, T value, in CustomLogParameterOptions options, IFormatter<T> formatter)Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the parameter. |
| CharSpan | parameterName | The name of the parameter. |
| T | value | The parameter value. |
| CustomLogParameterOptions | options | The options of the parameter. |
| IFormatter<T> | formatter | The formatter of the parameter value. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the parameter value. |