code: @Override
  	public void consumeLine(final String line) {
  		sb.append(line).append(LINE_SEPARATOR);
  
  		String logMessage = logMessagePrefix != null ? logMessagePrefix + line : line;
  		if (error) {
  			logger.error(logMessage);
  		} else {
  			logger.info(logMessage);
  		}
  	}
docs: {@inheritDoc} Adds each line to an internal {@link StringBuffer} whose contents may be
  retrieved in {@link #getOutput()} and logs each line applying a non-null
  {@code logMessagePrefix} using error or info level depending on the {@code error} parameter
  passed in the constructor.