class BatchingProgressLogger implements ProgressLogger {

    @Override
    public void logProgress(Supplier<String> msgFactory) {
        progressCounter.increment();
        var localProgress = callCounter.get();
        if (localProgress.longValue() < batchSize && (localProgress.incrementAndGet() >= batchSize)) {
            doLogPercentage(msgFactory);
            localProgress.setValue(0L);
        }
    }

    public  BatchingProgressLogger(Log log, long taskVolume, String task, int concurrency);
    public  BatchingProgressLogger(Log log, long taskVolume, long batchSize, String task, int concurrency);

}