Interface IMetricsFormatter
User supplied type to perform metrics formatting.
public interface IMetricsFormatter
Methods
FormatMetrics(IRequestMetrics)
Produce custom formatting for SDK metrics.
string FormatMetrics(IRequestMetrics metrics)
Parameters
metrics
IRequestMetricsAn instance of IRequestMetrics produced by the SDK
Returns
- string
formatted string representation of the metrics
Remarks
If defined, this method will be called for every request made by the SDK.