15 references to Rules
Aspire.Dashboard.Tests (7)
Integration\IntegrationTestHelpers.cs (1)
84o.Rules.Clear();
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 (3)
FilterLoggingBuilderExtensions.cs (1)
204options.Rules.Add(new LoggerFilterRule(type, category, level, filter));
LoggerFilterOptions.cs (2)
58if (Rules.Count > 0) 60debugText += $", Rules = {Rules.Count}";
Microsoft.Extensions.Logging.AzureAppServices (1)
ConfigurationBasedLevelSwitcher.cs (1)
25options.Rules.Add(new LoggerFilterRule(_provider.FullName, null, GetLogLevel(), null));
Microsoft.Extensions.Logging.Configuration (1)
LoggerFilterConfigureOptions.cs (1)
67options.Rules.Add(newRule);
Microsoft.Extensions.Logging.EventSource (1)
EventLogFiltersConfigureOptions.cs (1)
22options.Rules.Add(rule);
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerRuleSelector.cs (1)
30foreach (LoggerFilterRule rule in options.Rules)
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerTests.cs (1)
301filterOptions.Rules.Add(new LoggerFilterRule(null, FilteredCategory, null, (_, _, _) => false));