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)
29
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
146
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
242
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
300
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
365
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
425
var hostingEventSource = new
HostingEventSource
(Guid.NewGuid().ToString());
480
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)
34
private readonly
HostingEventSource
_eventSource;
46
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)
29
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
146
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
242
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
300
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
365
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
425
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
480
var
hostingEventSource = new HostingEventSource(Guid.NewGuid().ToString());
1641
Action<DefaultHttpContext> configure = null,
HostingEventSource
eventSource = null, IMeterFactory meterFactory = null,
1661
eventSource ??
HostingEventSource
.Log,
HostingApplicationTests.cs (1)
201
HostingEventSource
.Log,
HostingMetricsTests.cs (1)
290
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()