14 references to LoggerEventIds
Microsoft.AspNetCore.Hosting (9)
Internal\ApplicationLifetime.cs (3)
65
_logger.ApplicationError(
LoggerEventIds
.ApplicationStoppingException,
83
_logger.ApplicationError(
LoggerEventIds
.ApplicationStartupException,
100
_logger.ApplicationError(
LoggerEventIds
.ApplicationStoppedException,
Internal\HostingApplicationDiagnostics.cs (3)
260
eventId:
LoggerEventIds
.RequestStarting,
278
eventId:
LoggerEventIds
.RequestFinished,
290
eventId:
LoggerEventIds
.RequestUnhandled,
Internal\HostingLoggerExtensions.cs (3)
14
eventId:
LoggerEventIds
.ApplicationStartupException,
22
eventId:
LoggerEventIds
.HostingStartupAssemblyException,
50
logger.LogWarning(eventId:
LoggerEventIds
.PortsOverridenByUrls,
Microsoft.AspNetCore.Hosting.Tests (5)
HostingApplicationDiagnosticsTests.cs (3)
1074
var startLog = testSink.Writes.Single(w => w.EventId ==
LoggerEventIds
.RequestStarting);
1075
var unhandedLog = testSink.Writes.Single(w => w.EventId ==
LoggerEventIds
.RequestUnhandled);
1076
var endLog = testSink.Writes.Single(w => w.EventId ==
LoggerEventIds
.RequestFinished);
WebHostBuilderTests.cs (2)
313
var context = provider.Sink.Writes.Where(s => s.EventId.Id ==
LoggerEventIds
.HostingStartupAssemblyException);
1209
var context = provider.Sink.Writes.FirstOrDefault(s => s.EventId.Id ==
LoggerEventIds
.HostingStartupAssemblyException);