Class TeeOutputStream

java.lang.Object
java.io.OutputStream
com.carrotsearch.randomizedtesting.TeeOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class TeeOutputStream extends OutputStream
Custom teeing stream that ensures both streams receive the output and no exceptions are quietly suppressed.