/**
  * Add a new warning to the report.
  *
  * @param warning The warning.
  */
 public void warn(final AuditLogReportElem warning) {
   log.info(
       String.format(
           "WARN: auditlog sequence: %d -> %d. Reason: %s",
           warning.getFirst(), warning.getSecond(), warning.getReasons()));
   this.warns.add(warning);
 }
 /**
  * Add a new error to the report list
  *
  * @param error The error to be added.
  */
 public void error(final AuditLogReportElem error) {
   log.warn(
       String.format(
           "ERROR: auditlog sequence: %d -> %d. Reason: %s",
           error.getFirst(), error.getSecond(), error.getReasons()));
   this.errors.add(error);
 }