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