79717217

Date: 2025-07-28 10:56:14
Score: 2
Natty:
Report link

.NET 8+

Starting from .NET 8 there's a new extension method available for IHttpClientBuilder - RemoveAllLoggers()

Usage:

services.AddHttpClient("minos")
    .RemoveAllLoggers()

Related GitHub issue link: [API Proposal] HttpClientFactory logging configuration

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei Khotko