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