Open sandboxFocus

Method WriteCustomParameter

WriteCustomParameter<T>(int, in CharSpan, T, in CustomLogParameterOptions)

Writes a custom parameter.

Declaration
void WriteCustomParameter<T>(int index, in CharSpan parameterName, T value, in CustomLogParameterOptions options)
Parameters
Type Name Description
int index

The zero-based index of the parameter.

CharSpan parameterName

The name of the parameter.

T value

The value of the parameter.

CustomLogParameterOptions options

The options.

Type Parameters
Name Description
T

The type of the parameter value.