Added event_detail and write_log methods