code: static SimpleLogEvent error(Logger logger, RuntimeException error, LogData data) {
      return new SimpleLogEvent(logger, error, data);
    }
docs: Creates a {@link SimpleLogEvent} in the case of an error during logging.