Created own logger class