|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mx4j.log.Logger mx4j.log.Log4JLogger
Log that redirects log calls to a Log4J Logger.
at Apache's Log4J
Field Summary |
Fields inherited from class mx4j.log.Logger |
DEBUG, ERROR, FATAL, INFO, TRACE, WARN |
Constructor Summary | |
Log4JLogger()
This constructor is called to create instances of this Logger, following the prototype pattern. |
Method Summary | |
protected org.apache.log4j.Level |
convertPriority(int mx4jPriority)
Converts MX4J priority to Log4J priority |
protected void |
log(int priority,
java.lang.Object message,
java.lang.Throwable t)
|
protected void |
setCategory(java.lang.String category)
|
Methods inherited from class mx4j.log.Logger |
debug, debug, error, error, fatal, fatal, getCategory, getPriority, info, info, isEnabledFor, setPriority, trace, trace, warn, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log4JLogger()
Method Detail |
protected void setCategory(java.lang.String category)
setCategory
in class Logger
protected void log(int priority, java.lang.Object message, java.lang.Throwable t)
log
in class Logger
protected org.apache.log4j.Level convertPriority(int mx4jPriority)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |