Windows event log example. Adding the code snippet below to the end of your nxlog