Class LoggingOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.google.api.client.util.LoggingOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LoggingOutputStream extends FilterOutputStream
Thread-safe output stream wrapper that forwards all writes to a given output stream, while logging all writes to a LoggingByteArrayOutputStream.
Since:
1.9