added new logger class