logger is now an object