A subclass of PrintStream that redirects its output to a log4j Category.
This class is used to map PrintStream/PrintWriter oriented logging onto
the log4j Categories. Examples include capturing System.out/System.err writes.
Version:
$Revision: 1.3 $
Author:
Scott_Stark@displayscape.com
Fields inherited from class java.io.FilterOutputStream
out
Constructor Summary
CategoryStream(org.apache.log4j.Category category)
Redirect logging to the indicated category using Priority.INFO
CategoryStream(org.apache.log4j.Category category,
org.apache.log4j.Priority priority,
java.io.PrintStream ps)
Redirect logging to the indicated category using the given
priority.