10 instantiations of HostingEventSource
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEventSource.cs (1)
11public static readonly HostingEventSource Log = new HostingEventSource();
Microsoft.AspNetCore.Hosting.Tests (9)
HostingApplicationDiagnosticsTests.cs (7)
29var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 146var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 242var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 300var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 365var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 425var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 480var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
Internal\HostingEventSourceTests.cs (2)
26var eventSource = new HostingEventSource(); 251return new HostingEventSource(Guid.NewGuid().ToString());
36 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(); 205HostingEventSource.Log.HostStop();
Internal\HostingApplication.cs (1)
34HostingEventSource eventSource,
Internal\HostingApplicationDiagnostics.cs (2)
34private readonly HostingEventSource _eventSource; 46HostingEventSource eventSource,
Internal\HostingEventSource.cs (1)
11public static readonly HostingEventSource Log = new HostingEventSource();
Internal\WebHost.cs (3)
129HostingEventSource.Log.HostStart(); 146var hostingApp = new HostingApplication(application, _logger, diagnosticSource, activitySource, propagator, httpContextFactory, HostingEventSource.Log, hostingMetrics); 311HostingEventSource.Log.HostStop();
Microsoft.AspNetCore.Hosting.Tests (25)
HostingApplicationDiagnosticsTests.cs (9)
29var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 146var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 242var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 300var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 365var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 425var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 480var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 1641Action<DefaultHttpContext> configure = null, HostingEventSource eventSource = null, IMeterFactory meterFactory = null, 1661eventSource ?? HostingEventSource.Log,
HostingApplicationTests.cs (1)
201HostingEventSource.Log,
HostingMetricsTests.cs (1)
290HostingEventSource.Log,
Internal\HostingEventSourceTests.cs (14)
19EventSourceValidator.ValidateEventSourceIds(typeof(HostingEventSource)); 26var eventSource = new HostingEventSource(); 39var hostingEventSource = GetHostingEventSource(); 62var hostingEventSource = GetHostingEventSource(); 118var hostingEventSource = GetHostingEventSource(); 147var hostingEventSource = GetHostingEventSource(); 169var hostingEventSource = GetHostingEventSource(); 189var hostingEventSource = GetHostingEventSource(); 213Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 220Logger.LogInformation(nameof(HostingEventSource.RequestStop)); 227Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 234Logger.LogInformation(nameof(HostingEventSource.RequestFailed)); 236Logger.LogInformation(nameof(HostingEventSource.RequestStop)); 249private static HostingEventSource GetHostingEventSource()