1 write to FilteredCategories
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Logging\FakeLoggerTests.cs (1)
226
FilteredCategories
= new HashSet<string>()
6 references to FilteredCategories
Microsoft.Extensions.Diagnostics.Testing (2)
Logging\FakeLogCollector.cs (2)
117
if (_options.
FilteredCategories
.Count > 0)
119
if (record.Category == null || !_options.
FilteredCategories
.Contains(record.Category))
Microsoft.Extensions.Diagnostics.Testing.Tests (4)
Logging\FakeLogCollectorOptionsTests.cs (1)
15
Assert.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)
228
options.
FilteredCategories
.Add("Storage");