use of com.att.aro.console.printstreamutils.NullOut in project VideoOptimzer by attdevsupport.
the class Application method prepareSystemOut.
private OutSave prepareSystemOut() {
OutSave outSave = new OutSave(System.out, Logger.getRootLogger().getLevel());
if (utilOut.getThreshold().ordinal() < UtilOut.MessageThreshold.Verbose.ordinal()) {
Logger.getRootLogger().setLevel(Level.WARN);
System.setOut(new PrintStream(new NullOut()));
}
return outSave;
}
Aggregations