code: public void error(Throwable t) {
          if (isEnabled() && isErrorEnabled()) {
              dispatchLogException(new LogEvent(this, LogEvent.ERROR_TYPE, t));
          }
      }
docs: Simple method for logging a single error exception.