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)
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()); 364var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 424var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 479var 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)
33private readonly HostingEventSource _eventSource; 45HostingEventSource 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)
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()); 364var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 424var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 479var hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString()); 1262Action<DefaultHttpContext> configure = null, HostingEventSource eventSource = null, IMeterFactory meterFactory = null, 1282eventSource ?? 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()