1 write to LevelEnabled
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogRecord.cs (1)
39
LevelEnabled
= enabled;
6 references to LevelEnabled
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogCollector.cs (1)
126
if (!record.
LevelEnabled
&& !_options.CollectRecordsForDisabledLogLevels)
Microsoft.Extensions.Diagnostics.Testing.Tests (5)
Logging\FakeLoggerTests.cs (5)
40
Assert.True(records[0].
LevelEnabled
);
50
Assert.True(records[0].
LevelEnabled
);
57
Assert.True(records[0].
LevelEnabled
);
172
Assert.False(logger.LatestRecord.
LevelEnabled
);
178
Assert.True(logger.LatestRecord.
LevelEnabled
);