Soenneker.HttpClients.LoggingHandler
4.0.212
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.HttpClients.LoggingHandler --version 4.0.212
NuGet\Install-Package Soenneker.HttpClients.LoggingHandler -Version 4.0.212
<PackageReference Include="Soenneker.HttpClients.LoggingHandler" Version="4.0.212" />
<PackageVersion Include="Soenneker.HttpClients.LoggingHandler" Version="4.0.212" />
<PackageReference Include="Soenneker.HttpClients.LoggingHandler" />
paket add Soenneker.HttpClients.LoggingHandler --version 4.0.212
#r "nuget: Soenneker.HttpClients.LoggingHandler, 4.0.212"
#:package Soenneker.HttpClients.LoggingHandler@4.0.212
#addin nuget:?package=Soenneker.HttpClients.LoggingHandler&version=4.0.212
#tool nuget:?package=Soenneker.HttpClients.LoggingHandler&version=4.0.212
Soenneker.HttpClients.LoggingHandler
A delegating handler that logs HTTP request and response details, including headers and optionally bodies, for diagnostic and debugging purposes.
Install
dotnet add package Soenneker.HttpClients.LoggingHandler
What you get
HttpClientLoggingHandler— A delegating handler that logs HTTP request and response details, including headers and optionally bodies, for diagnostic and debugging purposes.HttpClientLoggingOptions— Options forHttpClientLoggingHandler.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
HttpClientLoggingOptions.MaxBodyLogLength |
Max number of characters to read from a body. Use a negative or int.MaxValue for “unlimited.”. | Max number of characters to read from a body. Use a negative or int.MaxValue for “unlimited.”. |
HttpClientLoggingOptions.RedactedHeaders |
Headers to redact (e.g. Authorization). | Headers to redact (e.g. Authorization). |
HttpClientLoggingOptions.LogRequestBody |
Gets or sets a value indicating whether log request body. | Gets or sets a value indicating whether log request body. |
HttpClientLoggingOptions.LogResponseBody |
Gets or sets a value indicating whether log response body. | Gets or sets a value indicating whether log response body. |
HttpClientLoggingOptions.LogRequestHeaders |
Gets or sets a value indicating whether log request headers. | Gets or sets a value indicating whether log request headers. |
HttpClientLoggingOptions.LogResponseHeaders |
Gets or sets a value indicating whether log response headers. | Gets or sets a value indicating whether log response headers. |
HttpClientLoggingOptions.LogLevel |
Minimum level for logging headers and status. | Minimum level for logging headers and status. |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Options (>= 10.0.11)
- Soenneker.Extensions.Enumerable.String (>= 4.0.1422)
- Soenneker.Extensions.Stream (>= 4.0.143)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Soenneker.HttpClients.LoggingHandler:
| Package | Downloads |
|---|---|
|
Soenneker.GitHub.Client.Http
Provides a configured, cached HttpClient for GitHub's REST API. |
|
|
Soenneker.Cloudflare.HttpClient
An async thread-safe HttpClient singleton for the Cloudflare API |
|
|
Soenneker.Instantly.ClientUtil
Provides a lazily created Instantly generated client over a reusable authenticated transport |
|
|
Soenneker.Telnyx.Client
Provide a cached HttpClient with Telnyx REST API authentication. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.222 | 859 | 9/5/2026 |
| 4.0.221 | 1,381 | 9/4/2026 |
| 4.0.220 | 2,345 | 9/4/2026 |
| 4.0.219 | 360 | 9/4/2026 |
| 4.0.218 | 17,537 | 8/31/2026 |
| 4.0.217 | 649 | 8/31/2026 |
| 4.0.216 | 683 | 8/31/2026 |
| 4.0.215 | 326 | 8/31/2026 |
| 4.0.214 | 4,110 | 8/30/2026 |
| 4.0.213 | 149 | 8/30/2026 |
| 4.0.212 | 320 | 8/30/2026 |
| 4.0.211 | 220 | 8/30/2026 |
| 4.0.210 | 1,735 | 8/29/2026 |
| 4.0.209 | 20,546 | 8/26/2026 |
| 4.0.208 | 333 | 8/25/2026 |
| 4.0.207 | 117 | 8/25/2026 |
| 4.0.206 | 5,201 | 8/22/2026 |
| 4.0.205 | 7,473 | 8/18/2026 |
| 4.0.204 | 10,964 | 8/13/2026 |
| 4.0.203 | 313 | 8/13/2026 |
Update dependency Soenneker.Extensions.Enumerable.String to 4.0.1422 (#504)