Call it with the required logger.