docs: public LoggerContext apply(LogLevelConfig logLevelConfig, Props props) {
      if (!ROOT_LOGGER_NAME.equals(logLevelConfig.getRootLoggerName())) {
        throw new IllegalArgumentException("Value of LogLevelConfig#rootLoggerName must be \"" + ROOT_LOGGER_NAME + "\"");
      }
  
      LoggerContext rootContext = getRootContext();
      logLevelConfig.getConfiguredByProperties().forEach((key, value) -> applyLevelByProperty(props, rootContext.getLogger(key), value));
      logLevelConfig.getConfiguredByHardcodedLevel().forEach((key, value) -> applyHardcodedLevel(rootContext, key, value));
      Level propertyValueAsLevel = getPropertyValueAsLevel(props, SONAR_LOG_LEVEL_PROPERTY);
      boolean traceGloballyEnabled = propertyValueAsLevel == Level.TRACE;
      logLevelConfig.getOffUnlessTrace().forEach(logger -> applyHardUnlessTrace(rootContext, logger, traceGloballyEnabled));
      return rootContext;
    }