1 write to CategoryName
Microsoft.Extensions.Logging (1)
LoggerFilterRule.cs (1)
23CategoryName = categoryName;
18 references to CategoryName
Aspire.Dashboard.Tests (6)
Integration\StartupTests.cs (6)
499Assert.Single(options.Value.Rules.Where(r => r.CategoryName == null && r.LogLevel == LogLevel.Trace)); 500Assert.Single(options.Value.Rules.Where(r => r.CategoryName == "Grpc" && r.LogLevel == LogLevel.Trace)); 501Assert.Single(options.Value.Rules.Where(r => r.CategoryName == "Microsoft.Hosting.Lifetime" && r.LogLevel == LogLevel.Trace)); 538Assert.Single(options.Value.Rules.Where(r => r.CategoryName == null && r.LogLevel == LogLevel.Trace)); 539Assert.Single(options.Value.Rules.Where(r => r.CategoryName == "Grpc" && r.LogLevel == LogLevel.Trace)); 540Assert.Single(options.Value.Rules.Where(r => r.CategoryName == "Microsoft.Hosting.Lifetime" && r.LogLevel == LogLevel.Trace));
Microsoft.Extensions.Logging (7)
LoggerFilterRule.cs (2)
51return $"{nameof(ProviderName)}: '{ProviderName}', {nameof(CategoryName)}: '{CategoryName}', {nameof(LogLevel)}: '{LogLevel}', {nameof(Filter)}: '{Filter}'";
LoggerRuleSelector.cs (5)
49string? categoryName = rule.CategoryName; 96if (current?.CategoryName != null) 98if (rule.CategoryName == null) 103if (current.CategoryName.Length > rule.CategoryName.Length)
Microsoft.Extensions.Telemetry (5)
Logging\Import\LoggerRuleSelector.cs (5)
54string? categoryName = rule.CategoryName; 101if (current?.CategoryName != null) 103if (rule.CategoryName == null) 108if (current.CategoryName.Length > rule.CategoryName.Length)