Class LoggingOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LoggingOutputStream extends ByteArrayOutputStream
An OutputStream that writes contents to a Logger upon each call to flush().

Based on http://blogs.sun.com/nickstephen/entry/java_redirecting_system_out_and

Author:
Christian Pesch