29 references to AddHttpLoggingRedaction
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingServiceCollectionExtensions.cs (2)
63return services.AddHttpLoggingRedaction(o => section.Bind(o)); 77return services.AddHttpLoggingRedaction()
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (27)
Logging\AcceptanceTests.cs (16)
55services.AddHttpLoggingRedaction(); 211}).AddHttpLoggingRedaction(), 271}).AddHttpLoggingRedaction(), 324}).AddHttpLoggingRedaction(options => options.IncludeUnmatchedRoutes = true), 361static services => services.AddHttpLoggingRedaction(x => 432static services => services.AddHttpLoggingRedaction(static x => 489x.AddHttpLoggingRedaction(); 526x.AddHttpLoggingRedaction(options => 561x.AddHttpLoggingRedaction().AddHttpLogging(x => x.CombineLogs = false); 595static x => x.AddHttpLoggingRedaction().AddHttpLogging(x => x.CombineLogs = false), 652static services => services.AddHttpLoggingRedaction(), 687}).AddHttpLoggingRedaction(), 721.AddHttpLoggingRedaction(), 780services => services.AddHttpLoggingRedaction(x => 961services => services.AddHttpLoggingRedaction(x => 981services => services.AddHttpLoggingRedaction()
Logging\AcceptanceTests.Mvc.cs (5)
61services => services.AddHttpLoggingRedaction(o => o.RequestPathParameterRedactionMode = mode), 96services => services.AddHttpLoggingRedaction(x => x.RequestPathLoggingMode = IncomingPathLoggingMode.Structured), 135services => services.AddHttpLoggingRedaction(x => 186services => services.AddHttpLoggingRedaction(x => x.RequestPathParameterRedactionMode = HttpRouteParameterRedactionMode.None), 224services => services.AddHttpLoggingRedaction(x =>
Logging\AcceptanceTests.Routing.cs (2)
135services.AddHttpLoggingRedaction(o => o.RequestPathParameterRedactionMode = mode); 171configureHttpLogging: services => services.AddHttpLoggingRedaction(options =>
Logging\HttpLoggingServiceExtensionsTests.cs (1)
59services.AddHttpLoggingRedaction(o =>
Logging\LoggingOptionsValidationTests.cs (3)
25.AddHttpLoggingRedaction(x => x.RequestPathLoggingMode = (IncomingPathLoggingMode)mode) 41.AddHttpLoggingRedaction(x => x.RequestPathLoggingMode = mode) 57.AddHttpLoggingRedaction(x => x.RequestPathParameterRedactionMode = mode)