Added a custom logger.