10 instantiations of HostingEventSource
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEventSource.cs (1)
11
public static readonly HostingEventSource Log = new
HostingEventSource
();
Microsoft.AspNetCore.Hosting.Tests (9)
HostingApplicationDiagnosticsTests.cs (7)
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());
364
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
424
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
479
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
Internal\HostingEventSourceTests.cs (2)
19
var eventSource = new
HostingEventSource
();
244
return new
HostingEventSource
(Guid.NewGuid().ToString());
35 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();
205
HostingEventSource
.Log.HostStop();
Internal\HostingApplication.cs (1)
34
HostingEventSource
eventSource,
Internal\HostingApplicationDiagnostics.cs (2)
33
private readonly
HostingEventSource
_eventSource;
45
HostingEventSource
eventSource,
Internal\HostingEventSource.cs (1)
11
public static readonly
HostingEventSource
Log = new HostingEventSource();
Internal\WebHost.cs (3)
129
HostingEventSource
.Log.HostStart();
146
var hostingApp = new HostingApplication(application, _logger, diagnosticSource, activitySource, propagator, httpContextFactory,
HostingEventSource
.Log, hostingMetrics);
311
HostingEventSource
.Log.HostStop();
Microsoft.AspNetCore.Hosting.Tests (24)
HostingApplicationDiagnosticsTests.cs (9)
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());
364
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
424
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
479
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
1262
Action<DefaultHttpContext> configure = null,
HostingEventSource
eventSource = null, IMeterFactory meterFactory = null,
1282
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()