HttpLoggingServiceCollectionExtensions
AddHttpLogEnricher<T>(IServiceCollection)
AddHttpLoggingRedaction(IServiceCollection, IConfigurationSection)
AddHttpLoggingRedaction(IServiceCollection, Action<LoggingRedactionOptions>)
net11.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class HttpLoggingServiceCollectionExtensions
{
[Experimental("EXTEXP0013", UrlFormat = "https://aka.ms/dotnet-extensions-warnings/{0}")]
public static IServiceCollection! AddHttpLoggingRedaction(this IServiceCollection! services, Action<LoggingRedactionOptions!>? configure = null);
}
}
| .NET | 8.09.010.011.0 |
|---|---|
Information specific to net11.0 | |
| Assemblies | Microsoft.AspNetCore.Diagnostics.Middleware , Version=10.5.0.0, PublicKeyToken=31bf3856ad364e35 Microsoft.AspNetCore.Diagnostics.Middleware , Version=10.4.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.Diagnostics.Middleware (10.5.0-preview.1.26176.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API