Added a better logger.