Last week I’ve created this small application using VS 2010, targeted to Microsoft.NET Framework 3.5. It’s a small application with simple code, but it’s very useful to Log your message to Windows Event Log in a DOS Batch file environment.
Click to download EventLogger.exe
It’s very simple to use. See the example below.
To create an event log entry with “Error” flag.