code: public void warn(Object o) {
          if (o instanceof Throwable) {
              logger.warn(o, (Throwable) o);
          } else {
              logger.warn(o);
          }
      }
docs: Generate a warn entry on the local logger
  
  @param o Object to log