code: private static Integer getMinLevelIndex(String value) {
          Integer minLevelIndex = 0;
          if ("info".equalsIgnoreCase(value)) {
              minLevelIndex = 6;
          } else {
              Level minLevel = Level.parse(value.toUpperCase());
              for (int i = 0; i < TrLevelConstants.levels.length; i++) {
                  if (minLevel.equals(TrLevelConstants.levels[i])) {
                      minLevelIndex = i;
                      break;
                  }
              }
          }
          return minLevelIndex;
      }
docs: /*
  Get the minimum level as an Integer.