code: @Deprecated
    public void error(String msg, Throwable t) {
      log.error(msg, t);
    }
docs: Log throwable with message and stack trace according to the logging level
  settings, as in log4j and slf4j. This is probably not what you expect.
  
  @param msg
  @param t
  @deprecated Use {@link #error(Throwable, String, Object...)} to clarify
  that you want the stack trace printed according to log severity
  settings or explicitly call toString() if you want to use the
  Throwable as an argument to
  {@link String#format(String, Object...)}.