created logger class