implemented event logger