created Logger class