Created the event logger