8 references to ExcludePathStartsWith
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Logging\HttpLoggingRedactionInterceptor.cs (1)
62_excludePathStartsWith = optionsValue.ExcludePathStartsWith.ToArray();
Logging\Internal\LoggingRedactionOptionsConfigureOptions.cs (2)
46BindSet(_section.GetSection(nameof(LoggingRedactionOptions.ExcludePathStartsWith)), options.ExcludePathStartsWith);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Logging\AcceptanceTests.cs (1)
782x.ExcludePathStartsWith.Add(excludedPath);
Logging\HttpLoggingServiceExtensionsTests.cs (4)
54Assert.Contains("/path0toexclude", options.ExcludePathStartsWith); 55Assert.Contains("/path1toexclude", options.ExcludePathStartsWith); 91Assert.Contains("/probe/live", options.ExcludePathStartsWith); 155Assert.Empty(options.ExcludePathStartsWith);