Add custom logger.