takes an event emitter instance and print all events when they are fired