Implemented logger class