28 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 (26)
Logging\AcceptanceTests.cs (15)
49services.AddHttpLoggingRedaction(); 167}).AddHttpLoggingRedaction(), 227}).AddHttpLoggingRedaction(), 275static services => services.AddHttpLoggingRedaction(x => 346static services => services.AddHttpLoggingRedaction(static x => 403x.AddHttpLoggingRedaction(); 440x.AddHttpLoggingRedaction(options => 475x.AddHttpLoggingRedaction().AddHttpLogging(x => x.CombineLogs = false); 509static x => x.AddHttpLoggingRedaction().AddHttpLogging(x => x.CombineLogs = false), 566static services => services.AddHttpLoggingRedaction(), 601}).AddHttpLoggingRedaction(), 635.AddHttpLoggingRedaction(), 694services => services.AddHttpLoggingRedaction(x => 722services => services.AddHttpLoggingRedaction(x => 742services => 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)