log events to console