code: public static String getName(Level level) {
      Level normalized = normalize(level);
      return normalized == Level.FINE ? DEBUG : normalized.getName();
    }
docs: Converts the JDK level to a name supported by Selenium.
  
  @param level log level to get the string name of
  @return string name representation of the level selenium supports