public void logBrokenObjectAndSetInconsistency ( String brokenObject ) throws IOException { setInconsistency ( ) ; // The ThreadLocal has been initialized so we know that we are in multithreaded mode. if ( reportContext . get ( ) != null ) { reportContext . get ( ) . addBrokenObject ( brokenObject ) ; } else { writeBrokenObject ( brokenObject ) ; } }
Adds detailed event to log .