protected static void addLine(PrintWriter file,String level,String string){
  log.debug(string);
  if (file != null) {
    String[] lines=string.split(NEW_LINE);
    for (    String line : lines) {
      printLine(file,level,line);
    }
  }
}

protected static void addLine ( PrintWriter file , String level , String string ) { log . debug ( string ) ; if ( file != null ) { String [ ] lines = string . split ( NEW_LINE ) ; for ( String line : lines ) { printLine ( file , level , line ) ; } } }
writes a line to the build report file
