public void replayTo ( Log destination ) { synchronized ( this . lines ) { for ( Line line : this . lines ) { logTo ( destination , line . getLevel ( ) , line . getMessage ( ) , line . getThrowable ( ) ) ; } this . lines . clear ( ) ; } }
Replay deferred logging to the specified destination .