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