code: public static void warning(Logger log, String format, Object... args) {
          if (log.isLoggable(Level.WARNING))
              log.warning(String.format(format, args));
      }
docs: Prints {@link Level#WARNING} messages to the provided {@link Logger}.