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