2 writes to _options
Microsoft.Extensions.Diagnostics.Testing (2)
Logging\FakeLogCollector.cs (2)
30
_options
= Throw.IfNullOrMemberNull(options, options?.Value);
38
_options
= new FakeLogCollectorOptions();
9 references to _options
Microsoft.Extensions.Diagnostics.Testing (9)
Logging\FakeLogCollector.cs (9)
119
if (
_options
.FilteredLevels.Count > 0 && !
_options
.FilteredLevels.Contains(record.Level))
125
if (
_options
.FilteredCategories.Count > 0)
127
if (record.Category == null || !
_options
.FilteredCategories.Contains(record.Category))
134
if (!record.LevelEnabled && !
_options
.CollectRecordsForDisabledLogLevels)
140
var customFilter =
_options
.CustomFilter;
164
_options
.OutputSink?.Invoke(
_options
.OutputFormatter(record));
167
internal TimeProvider TimeProvider =>
_options
.TimeProvider;