protected void captureSystemStreams() {
        teeOut = new TeePrintStream(new TrOutputStream(systemOut, this), true);
        System.setOut(teeOut);

        teeErr = new TeePrintStream(new TrOutputStream(systemErr, this), true);
        System.setErr(teeErr);
    }
protected void captureSystemStreams ( ) { teeOut = new TeePrintStream ( new TrOutputStream ( systemOut , this ) , true ) ; System . setOut ( teeOut ) ; teeErr = new TeePrintStream ( new TrOutputStream ( systemErr , this ) , true ) ; System . setErr ( teeErr ) ; }
Capture the system stream. The original streams are cached/remembered
when the special trace components are created.