@ Override public void log ( String msg ) { verifySystemOut ( ) ; PrintStream printStream = out ; try { if ( userInputActive ) { erasePrompt ( printStream ) ; } if ( msg . endsWith ( LINE_SEPARATOR ) ) { printStream . print ( msg ) ; } else { printStream . println ( msg ) ; } cursorMove = 0 ; } finally { printStream . flush ( ) ; postPrintMessage ( ) ; } }
Logs a message below the current status message .