<h2>org.autoplot.scriptconsole.LoggingOutputStream</h2><p>makes stderr and stdout loggable. from http://blogs.sun.com/nickstephen/entry/java_redirecting_system_out_and An OutputStream that writes contents to a Logger upon each call to flush()</p> <h2>LoggingOutputStream( <a href='https://docs.oracle.com/javase/8/docs/api/java/util/logging/Logger.html'>java.util.logging.Logger</a> logger, <a href='https://docs.oracle.com/javase/8/docs/api/java/util/logging/Level.html'>java.util.logging.Level</a> level )</h2> <p>Constructor</p> <hr> <a name="flush"></a> <h2>flush</h2> flush( ) → void <p>upon flush() write the existing contents of the OutputStream to the logger as a log record.</p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=flush&unscoped_q=flush">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/scriptconsole/LoggingOutputStream.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/scriptconsole/LoggingOutputStream.html#flush">[view on old javadoc]</a> <br> <br>