Top Description Fields Constructors Methods
org.apache.tomcat.util.log

pack-priv Class CaptureLog

extends Object
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .PrintStream

Per Thread System.err and System.out log capture data.
Author
Glenn L. Nielsen

Field Summary

Modifier and TypeField and Description
private final ByteArrayOutputStream
private final PrintStream

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected String
protected PrintStream
protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

baosback to summary
private final ByteArrayOutputStream baos
psback to summary
private final PrintStream ps

Constructor Detail

CaptureLogback to summary
protected CaptureLog()

Method Detail

getCaptureback to summary
protected String getCapture()
getStreamback to summary
protected PrintStream getStream()
resetback to summary
protected void reset()