I have an ASP.NET Core 2.0 application using Microsoft.Extensions.Logging.EventLog
to log to Windows Event Viewer with
.ConfigureLogging((hostingContext, logging) =>
{
logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
logging.AddEventLog();
logging.AddConsole();
})
On Event Viewer I can see my application working and logging itself to it, but it has the default name of Application under Source, and I'm trying to figure out on how to change it's name so it can Log under a different source name.