|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
org.jboss.logging.util.CategoryStream
LoggerStream
(src) instead.
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
Field Summary | |
static boolean |
TRACE
Deprecated. Default flag to enable/disable tracing println calls. |
Fields inherited from class java.io.FilterOutputStream |
out |
Constructor Summary | |
CategoryStream(Category category)
Deprecated. Redirect logging to the indicated category using Priority.INFO |
|
CategoryStream(Category category,
Priority priority,
java.io.PrintStream ps)
Deprecated. Redirect logging to the indicated category using the given priority. |
Method Summary | |
void |
println(java.lang.Object msg)
Deprecated. |
void |
println(java.lang.String msg)
Deprecated. |
void |
write(byte b)
Deprecated. |
void |
write(byte[] b,
int off,
int len)
Deprecated. |
Methods inherited from class java.io.PrintStream |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, setError, write |
Methods inherited from class java.io.FilterOutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean TRACE
Constructor Detail |
public CategoryStream(Category category)
public CategoryStream(Category category, Priority priority, java.io.PrintStream ps)
Method Detail |
public void println(java.lang.String msg)
public void println(java.lang.Object msg)
public void write(byte b)
public void write(byte[] b, int off, int len)
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |