9 instantiations of HostingEventSource
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEventSource.cs (1)
11public static readonly HostingEventSource Log = new HostingEventSource();
Microsoft.AspNetCore.Hosting.Tests (8)
HostingApplicationDiagnosticsTests.cs (6)
28var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 145var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 241var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 299var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 359var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 414var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
Internal\HostingEventSourceTests.cs (2)
19var eventSource = new HostingEventSource(); 244return new HostingEventSource(Guid.NewGuid().ToString());
34 references to HostingEventSource
Microsoft.AspNetCore.Hosting (11)
GenericHost\GenericWebHostService.cs (4)
64HostingEventSource.Log.HostStart(); 159var httpApplication = new HostingApplication(application, Logger, DiagnosticListener, ActivitySource, Propagator, HttpContextFactory, HostingEventSource.Log, HostingMetrics); 162HostingEventSource.Log.ServerReady(); 197HostingEventSource.Log.HostStop();
Internal\HostingApplication.cs (1)
27HostingEventSource eventSource,
Internal\HostingApplicationDiagnostics.cs (2)
33private readonly HostingEventSource _eventSource; 42HostingEventSource eventSource,
Internal\HostingEventSource.cs (1)
11public static readonly HostingEventSource Log = new HostingEventSource();
Internal\WebHost.cs (3)
128HostingEventSource.Log.HostStart(); 145var hostingApp = new HostingApplication(application, _logger, diagnosticSource, activitySource, propagator, httpContextFactory, HostingEventSource.Log, hostingMetrics); 310HostingEventSource.Log.HostStop();
Microsoft.AspNetCore.Hosting.Tests (23)
HostingApplicationDiagnosticsTests.cs (8)
28var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 145var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 241var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 299var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 359var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 414var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 1095Action<DefaultHttpContext> configure = null, HostingEventSource eventSource = null, IMeterFactory meterFactory = null) 1114eventSource ?? HostingEventSource.Log,
HostingApplicationTests.cs (1)
199HostingEventSource.Log,
HostingMetricsTests.cs (1)
206HostingEventSource.Log,
Internal\HostingEventSourceTests.cs (13)
19var eventSource = new HostingEventSource(); 32var hostingEventSource = GetHostingEventSource(); 55var hostingEventSource = GetHostingEventSource(); 111var hostingEventSource = GetHostingEventSource(); 140var hostingEventSource = GetHostingEventSource(); 162var hostingEventSource = GetHostingEventSource(); 182var hostingEventSource = GetHostingEventSource(); 206Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 213Logger.LogInformation(nameof(HostingEventSource.RequestStop)); 220Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 227Logger.LogInformation(nameof(HostingEventSource.RequestFailed)); 229Logger.LogInformation(nameof(HostingEventSource.RequestStop)); 242private static HostingEventSource GetHostingEventSource()