2 references to HttpLoggingServiceCollectionExtensions
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\HttpLoggingServiceExtensionsTests.cs (2)
25
Assert.Throws<ArgumentNullException>(static () =>
HttpLoggingServiceCollectionExtensions
.AddHttpLogEnricher<TestHttpLogEnricher>(null!));
28
() =>
HttpLoggingServiceCollectionExtensions
.AddHttpLoggingRedaction(services, (IConfigurationSection)null!));