question: protected void waitFlush ( ) { if ( doneLock == null ) return ; try { if ( NSLogger . debugLogger ) Log . v ( "NSLogger" , String . format ( "waiting for flush of message %d" , sequenceNumber ) ) ; doneCondition . await ( ) ; } catch ( InterruptedException e ) { } finally { doneLock . unlock ( ) ; } }
target:  Internally used by the client thread to wait for the logging thread to have successfully sent the message. Thread is blocked in the meantime.