1 write to FilteredCategories
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Logging\FakeLoggerTests.cs (1)
226FilteredCategories = new HashSet<string>()
6 references to FilteredCategories
Microsoft.Extensions.Diagnostics.Testing (2)
Logging\FakeLogCollector.cs (2)
117if (_options.FilteredCategories.Count > 0) 119if (record.Category == null || !_options.FilteredCategories.Contains(record.Category))
Microsoft.Extensions.Diagnostics.Testing.Tests (4)
Logging\FakeLogCollectorOptionsTests.cs (1)
15Assert.Empty(options.FilteredCategories);
Logging\FakeLoggerExtensionsTests.cs (2)
35.AddFakeLogging(options => options.FilteredCategories.Add("Storage")) 57{ $"Logging:{nameof(FakeLogCollectorOptions.FilteredCategories)}:0", "Storage" },
Logging\FakeLoggerTests.cs (1)
228options.FilteredCategories.Add("Storage");