|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Handler org.yajul.log.JuliToLog4jHandler
public class JuliToLog4jHandler
A JULI (java.util.logging) handler that redirects java.util.logging messages to Log4J
http://wiki.apache.org/myfaces/Trinidad_and_Common_Logging
User: josh
Date: Jun 4, 2008
Time: 3:31:21 PM
Constructor Summary | |
---|---|
JuliToLog4jHandler()
|
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
static org.apache.log4j.Logger |
getTargetLogger(java.lang.Class clazz)
|
void |
publish(java.util.logging.LogRecord record)
|
Methods inherited from class java.util.logging.Handler |
---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JuliToLog4jHandler()
Method Detail |
---|
public void publish(java.util.logging.LogRecord record)
publish
in class java.util.logging.Handler
public static org.apache.log4j.Logger getTargetLogger(java.lang.Class clazz)
public void flush()
flush
in class java.util.logging.Handler
public void close()
close
in class java.util.logging.Handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |