/** @inheritDoc */ @Override public void printError(Throwable e) { switch (config.getVerboseLevel()) { case VERBOSE: output.printError(e); break; case SILENT: break; case BRIEF: default: output.printMessage("#" + ExceptionUtils.getMessage(e)); break; } }
/** @inheritDoc */ @Override public void printMessage(String message) { if (config.getVerboseLevel() != VerboseLevel.SILENT) { output.printMessage("#" + message); } }