1 write to _httpClientAsyncLogger
Microsoft.Extensions.Http (1)
Logging\HttpClientLoggerHandler.cs (1)
22_httpClientAsyncLogger = httpClientLogger as IHttpClientAsyncLogger;
6 references to _httpClientAsyncLogger
Microsoft.Extensions.Http (6)
Logging\HttpClientLoggerHandler.cs (6)
32object? state = _httpClientAsyncLogger is not null 33? await _httpClientAsyncLogger.LogRequestStartAsync(request, cancellationToken).ConfigureAwait(false) 40if (_httpClientAsyncLogger is not null) 42await _httpClientAsyncLogger.LogRequestStopAsync(state, request, response, stopwatch.GetElapsedTime(), cancellationToken).ConfigureAwait(false); 52if (_httpClientAsyncLogger is not null) 54await _httpClientAsyncLogger.LogRequestFailedAsync(state, request, response, exception, stopwatch.GetElapsedTime(), cancellationToken).ConfigureAwait(false);