console log event object code example
Example: console log all events
monitorEvents(document.body); //log all events
monitorEvents(document.body, 'mouse'); //log all mouse events
monitorEvents(document.body); //log all events
monitorEvents(document.body, 'mouse'); //log all mouse events