code: public static void warning(String message, Throwable e) {
      if(message == null && e != null) {
        message = e.getMessage();
      }
      logExpensive(Level.WARNING, message, e);
    }
docs: Static version to log a warning message.
  
  @param message Warning message, may be null (defaults to e.getMessage())
  @param e causing exception