1 write to CategoryName
Microsoft.Extensions.Telemetry (1)
Buffering\LogBufferingFilterRule.cs (1)
38CategoryName = categoryName;
10 references to CategoryName
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Buffering\PerRequestLogBufferingOptionsCustomValidator.cs (3)
20if (rule.CategoryName is null) 25int wildcardIndex = rule.CategoryName.IndexOf(WildcardChar, StringComparison.Ordinal); 26if (wildcardIndex >= 0 && rule.CategoryName.IndexOf(WildcardChar, wildcardIndex + 1) >= 0)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (3)
Buffering\PerRequestLogBufferingOptionsConfigureOptionsTests.cs (3)
93Assert.Equal("TestCategory", options.Rules[0].CategoryName); 121Assert.Equal("Category1", options.Rules[0].CategoryName); 123Assert.Equal("Category2", options.Rules[1].CategoryName);
Microsoft.Extensions.Telemetry (4)
Buffering\GlobalLogBufferingOptionsCustomValidator.cs (3)
19if (rule.CategoryName is null) 24int wildcardIndex = rule.CategoryName.IndexOf(WildcardChar, StringComparison.Ordinal); 25if (wildcardIndex >= 0 && rule.CategoryName.IndexOf(WildcardChar, wildcardIndex + 1) >= 0)
Buffering\LogBufferingFilterRuleSelector.cs (1)
138string? ruleCategory = rule.CategoryName;