How to subscribe to Windows Event Logs?
When writing Windows applications or services, Windows have a nice built-in tool called Event Viewer or Event Logs that can be used for logging purpose and helps greatly in debugging and tracing the applications’ critical logs. One can log the…