_logger.LogWarning("HTTP Response {StatusCode} to {RemoteIp}. Time (slow): {Elapsed:ss.fff}. {Url}",httpRes.StatusCode,remoteIp,stopWatch.Elapsed,urlToLog);
_logger.LogWarning("HTTP Response {StatusCode} to {RemoteIp}. Time (slow): {Elapsed:g}. {Url}",httpRes.StatusCode,remoteIp,elapsed,urlToLog);
}
else
{
_logger.LogDebug("HTTP Response {StatusCode} to {RemoteIp}. Time: {Elapsed:ss.fff}. {Url}",httpRes.StatusCode,remoteIp,stopWatch.Elapsed,urlToLog);
_logger.LogDebug("HTTP Response {StatusCode} to {RemoteIp}. Time: {Elapsed:g}. {Url}",httpRes.StatusCode,remoteIp,elapsed,urlToLog);