implemented binary mode in Logger. Start implementation of dump Event