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