public void println(String line){
  consumer.accept(line);
  consumer.accept("\n");
}

public void println ( String line ) { consumer . accept ( line ) ; consumer . accept ( "\n" ) ; }
prints the string and a newline ( always ' \ n ' ) .
