6 references to Messages
InMemory.FunctionalTests (6)
HttpsConnectionMiddlewareTests.cs (1)
1372
Assert.Single(testLogger.
Messages
.Where(log => log.EventId == 9));
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (4)
33
public int TotalErrorsLogged =>
Messages
.Count(message => message.LogLevel == LogLevel.Error);
35
public int CriticalErrorsLogged =>
Messages
.Count(message => message.LogLevel == LogLevel.Critical);
37
public int ApplicationErrorsLogged =>
Messages
.Count(message => message.EventId.Id == ApplicationErrorEventId);
105
Messages
.Enqueue(logMessage);
src\Servers\Kestrel\shared\test\TestApplicationErrorLoggerLoggedTest.cs (1)
18
public ConcurrentQueue<LogMessage> LogMessages => TestApplicationErrorLogger.
Messages
;