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)
19var eventSource = new HostingEventSource(); 244return new HostingEventSource(Guid.NewGuid().ToString());
35 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 (24)
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 (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()