Class TeeWriter

java.lang.Object
java.io.Writer
io.github.ascopes.jct.diagnostics.TeeWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public final class TeeWriter extends Writer
A writer that wraps an output stream and also writes any content to an in-memory buffer.

This is thread-safe.

Since:
0.0.1
Author:
Ashley Scopes