public static void logResult(String result,PrintWriter localOut){
  localOut.println(getTime() + " " + result);
}

public static void logResult ( String result , PrintWriter localOut ) { localOut . println ( getTime ( ) + " " + result ) ; }
writes the string in the given stream .
