public static synchronized void progress(final String message){
  sLastProgress=message;
  final PrintStream prog=getProgressStream();
  if (prog != null) {
    prog.println(now() + message);
    prog.flush();
    if (prog.checkError()) {
      sProgressStream=null;
    }
  }
}

public static synchronized void progress ( final String message ) { sLastProgress = message ; final PrintStream prog = getProgressStream ( ) ; if ( prog != null ) { prog . println ( now ( ) + message ) ; prog . flush ( ) ; if ( prog . checkError ( ) ) { sProgressStream = null ; } } }
write a message to the progress stream if a log file exists .
