private static Level possiblyReduceLogLevel(String loggerName, Level level) {
        if (loggerName == null) return level;

        var levelMapper = loggersWithAlteredLogLevel.get(loggerName);
        return levelMapper == null ? level : levelMapper.apply(level);
    }
Publish a log record into the Vespa log target.
vespalog/src/main/java/com/yahoo/log/VespaLogHandler.java