2 writes to EventLogEnabled
Microsoft.AspNetCore.Hosting (2)
Internal\HostingApplication.cs (1)
164
EventLogEnabled
= false;
Internal\HostingApplicationDiagnostics.cs (1)
76
context.
EventLogEnabled
= true;
4 references to EventLogEnabled
Microsoft.AspNetCore.Hosting (2)
Internal\HostingApplicationDiagnostics.cs (2)
223
if (context.
EventLogEnabled
)
245
if (context.
EventLogEnabled
)
Microsoft.AspNetCore.Hosting.Tests (2)
HostingApplicationDiagnosticsTests.cs (2)
168
Assert.True(context.
EventLogEnabled
);
234
Assert.False(context.
EventLogEnabled
);