|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
java.io.PrintWriter
org.jboss.logging.util.CategoryWriter
LoggerWriter
(src) instead.
A subclass of PrintWriter that redirects its output to a log4j Category.
This class is used to have something to give api methods that require a PrintWriter for logging. JBoss-owned classes of this nature generally ignore the PrintWriter and do their own log4j logging.
Field Summary |
Fields inherited from class java.io.PrintWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Constructor Summary | |
CategoryWriter(Category category)
Deprecated. Redirect logging to the indicated category using Priority.INFO |
|
CategoryWriter(Category category,
Priority priority)
Deprecated. Redirect logging to the indicated category using the given priority. |
Methods inherited from class java.io.PrintWriter |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CategoryWriter(Category category)
category
- Description of Parameterpublic CategoryWriter(Category category, Priority priority)
category
- Description of Parameterpriority
- Description of Parameter
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |