Class TeeOutputStream

java.lang.Object
java.io.OutputStream
ch.qos.logback.core.testUtil.TeeOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
XTeeOutputStream

public class TeeOutputStream extends OutputStream
This stream writes its output to the target PrintStream supplied to its constructor. At the same time, all the available bytes are collected and returned by the toString() method.
Author:
Ceki Gulcu