Core-NLog-EventLog This will add log in EventLog. https://www.c-sharpcorner.com/article/net-core-web-api-logging-using-nlog-in-event-log/