Added a logger.
Added a logger.