1 implementation of IHttpClientAsyncLogger
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\HttpClientLogger.cs (1)
21
internal sealed class HttpClientLogger :
IHttpClientAsyncLogger
18 references to IHttpClientAsyncLogger
Microsoft.Extensions.Http (12)
DependencyInjection\HttpClientBuilderExtensions.Logging.cs (10)
18
/// <see cref="IHttpClientLogger"/> or <see cref="
IHttpClientAsyncLogger
"/>.</param>
25
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStartAsync"/> would be executed before all
27
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStopAsync"/> would be executed after all
32
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStartAsync"/> would be executed after all
34
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStopAsync"/> would be executed before all
82
/// or <see cref="
IHttpClientAsyncLogger
"/>.
87
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStartAsync"/> would be executed before all
89
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStopAsync"/> would be executed after all
94
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStartAsync"/> would be executed after all
96
/// <see cref="
IHttpClientAsyncLogger
.LogRequestStopAsync"/> would be executed before all
Logging\HttpClientLoggerHandler.cs (2)
15
private readonly
IHttpClientAsyncLogger
? _httpClientAsyncLogger;
22
_httpClientAsyncLogger = httpClientLogger as
IHttpClientAsyncLogger
;
Microsoft.Extensions.Http.Diagnostics (6)
Logging\HttpClientLoggingHttpClientBuilderExtensions.cs (3)
23
/// Adds an <see cref="
IHttpClientAsyncLogger
" /> to emit logs for outgoing requests for a named <see cref="HttpClient"/>.
41
/// Adds an <see cref="
IHttpClientAsyncLogger
" /> to emit logs for outgoing requests for a named <see cref="HttpClient"/>.
61
/// Adds an <see cref="
IHttpClientAsyncLogger
" /> to emit logs for outgoing requests for a named <see cref="HttpClient"/>.
Logging\HttpClientLoggingServiceCollectionExtensions.cs (3)
23
/// Adds an <see cref="
IHttpClientAsyncLogger
" /> to emit logs for outgoing requests for all HTTP clients created with <see cref="IHttpClientFactory"/>.
52
/// Adds an <see cref="
IHttpClientAsyncLogger
" /> to emit logs for outgoing requests for all HTTP clients created with <see cref="IHttpClientFactory"/>.
74
/// Adds an <see cref="
IHttpClientAsyncLogger
" /> to emit logs for outgoing requests for all HTTP clients created with <see cref="IHttpClientFactory"/>.