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)
32
object? state =
_httpClientAsyncLogger
is not null
33
? await
_httpClientAsyncLogger
.LogRequestStartAsync(request, cancellationToken).ConfigureAwait(false)
40
if (
_httpClientAsyncLogger
is not null)
42
await
_httpClientAsyncLogger
.LogRequestStopAsync(state, request, response, stopwatch.GetElapsedTime(), cancellationToken).ConfigureAwait(false);
52
if (
_httpClientAsyncLogger
is not null)
54
await
_httpClientAsyncLogger
.LogRequestFailedAsync(state, request, response, exception, stopwatch.GetElapsedTime(), cancellationToken).ConfigureAwait(false);