question: 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 ) ; } } }
target:  Writes a line to the build report file