1 write to EventId
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
100EventId = eventId,
12 references to EventId
InMemory.FunctionalTests (12)
Http2\Http2ConnectionTests.cs (4)
39Assert.Equal(0, LogMessages.Count(m => m.EventId.Name == "Http2MaxConcurrentStreamsReached")); 43Assert.Equal(1, LogMessages.Count(m => m.EventId.Name == "Http2MaxConcurrentStreamsReached")); 48Assert.Equal(1, LogMessages.Count(m => m.EventId.Name == "Http2MaxConcurrentStreamsReached")); 5308var logMessage = LogMessages.Single(m => m.EventId == 20);
HttpProtocolSelectionTests.cs (1)
95&& message.EventId.Id == 0
HttpsConnectionMiddlewareTests.cs (1)
1372Assert.Single(testLogger.Messages.Where(log => log.EventId == 9));
ResponseDrainingTests.cs (1)
76Assert.Single(LogMessages, w => w.EventId.Id == 28 && w.LogLevel <= LogLevel.Debug);
ResponseTests.cs (4)
939var logMessage = Assert.Single(LogMessages, message => message.EventId.Name == "ConnectionHeadResponseBodyWrite"); 2028Assert.Contains(LogMessages, w => w.EventId.Id == 17 && w.LogLevel <= LogLevel.Debug && w.Exception is BadHttpRequestException 2082if (message.EventId.Id == 17 && message.LogLevel <= LogLevel.Debug && message.Exception is BadHttpRequestException 2145Assert.Contains(LogMessages, w => w.EventId.Id == 17 && w.LogLevel <= LogLevel.Debug && w.Exception is BadHttpRequestException
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
37public int ApplicationErrorsLogged => Messages.Count(message => message.EventId.Id == ApplicationErrorEventId);