code: public void setProcessed(int processed, Logging logger) throws IllegalArgumentException {
      setProcessed(processed);
      if(testLoggingRate(processed)) {
        logger.progress(this);
      }
    }
docs: Sets the number of items already processed at a time being.
  
  @param processed the number of items already processed at a time being
  @param logger Logger to report to
  @throws IllegalArgumentException if an invalid value was passed.