public void logComment ( String message ) throws IOException { if ( reportContext . get ( ) != null ) { reportContext . get ( ) . addComment ( message ) ; } else { writeMessage ( message ) ; } }
Adds comment to log .