Added a logger.