Class 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