private void logOrPrintToFile(Predicate<Log> logPredicate, Consumer<Log> logConsumer, String message, Object ... params) {
        if (outputFile != null && logPredicate.test(log)) {
            pw.println(format(message, params));
        } else {
            logConsumer.accept(log);
        }
    }
Finis progress meter. Must be always called if {@link #progressStart()} has been used.
src/main/java/io/fabric8/maven/docker/util/AnsiLogger.java