14 references to AddHttpLogging
HttpLogging.Sample (1)
Startup.cs (1)
14
services.
AddHttpLogging
(logging =>
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HttpLoggingServiceCollectionExtensions.cs (1)
42
return services.
AddHttpLogging
(o =>
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (9)
Logging\AcceptanceTests.cs (9)
206
services => services.
AddHttpLogging
(x =>
266
services => services.
AddHttpLogging
(x =>
319
services => services.
AddHttpLogging
(x =>
365
}).
AddHttpLogging
(static x =>
561
x.AddHttpLoggingRedaction().
AddHttpLogging
(x => x.CombineLogs = false);
595
static x => x.AddHttpLoggingRedaction().
AddHttpLogging
(x => x.CombineLogs = false),
683
static services => services.
AddHttpLogging
(static x =>
720
static services => services.
AddHttpLogging
(static x => x.LoggingFields &= ~HttpLoggingFields.ResponseBody)
963
}).
AddHttpLogging
(o =>
Microsoft.AspNetCore.HttpLogging.Tests (3)
HttpLoggingMiddlewareTests.cs (2)
1914
services.
AddHttpLogging
(o => o.LoggingFields = HttpLoggingFields.All);
2015
services.
AddHttpLogging
(o =>
HttpLoggingServicesExtensionsTests.cs (1)
15
new ServiceCollection().
AddHttpLogging
(null));