2 writes to EventLogEnabled
Microsoft.AspNetCore.Hosting (2)
Internal\HostingApplication.cs (1)
171
EventLogEnabled
= false;
Internal\HostingApplicationDiagnostics.cs (1)
92
context.
EventLogEnabled
= true;
4 references to EventLogEnabled
Microsoft.AspNetCore.Hosting (2)
Internal\HostingApplicationDiagnostics.cs (2)
239
if (context.
EventLogEnabled
)
261
if (context.
EventLogEnabled
)
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (2)
168
Assert.True(context.
EventLogEnabled
);
234
Assert.False(context.
EventLogEnabled
);