Class SystemLogHandler

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
org.apache.tomcat.util.log.SystemLogHandler
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class SystemLogHandler extends PrintStream
This helper class may be used to do sophisticated redirection of System.out and System.err on a per Thread basis. A stack is implemented per Thread so that nested startCapture and stopCapture can be used.
Author:
Remy Maucherat, Glenn L. Nielsen