Created logger class