Represents progress observer that uses {@link Writer} to record the events.
It needs to be registered via {@link ProgressManager#registerProgressObserver(ProgressObserver)} methodbefore use.
140141142143144145146147148
} private void setProgress(String verbosity) { if (!"quiet".equals(verbosity)) { log.debug("Enabling progress meter."); WriterProgressObserver progressObserver = new WriterProgressObserver(new OutputStreamWriter(System.err), 40); ProgressManager.getInstance().registerProgressObserver(progressObserver); } }