org.autoplot.scriptconsole.LoggingOutputStream

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()

LoggingOutputStream( java.util.logging.Logger logger, java.util.logging.Level level )

Constructor


flush

flush( ) → void

upon flush() write the existing contents of the OutputStream to the logger as a log record.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]