I would add a check for this new option here, to skip all this math when there is no real logger.