2 writes to _options
Microsoft.Extensions.Diagnostics.Testing (2)
Logging\FakeLogCollector.cs (2)
28
_options
= Throw.IfNullOrMemberNull(options, options?.Value);
36
_options
= new FakeLogCollectorOptions();
8 references to _options
Microsoft.Extensions.Diagnostics.Testing (8)
Logging\FakeLogCollector.cs (8)
111
if (
_options
.FilteredLevels.Count > 0 && !
_options
.FilteredLevels.Contains(record.Level))
117
if (
_options
.FilteredCategories.Count > 0)
119
if (record.Category == null || !
_options
.FilteredCategories.Contains(record.Category))
126
if (!record.LevelEnabled && !
_options
.CollectRecordsForDisabledLogLevels)
137
_options
.OutputSink?.Invoke(
_options
.OutputFormatter(record));
140
internal TimeProvider TimeProvider =>
_options
.TimeProvider;