|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.avalon.excalibur.logger.log4j.Log4JAdapter
This class sits on top of an existing Log4J Hierarchy and returns logger wrapping Log4J loggers. Attach PrefixDecorator and/or CachingDecorator if desired.
Field Summary | |
protected org.apache.log4j.spi.LoggerRepository |
m_hierarchy
|
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager |
ROLE |
Constructor Summary | |
Log4JAdapter(org.apache.log4j.spi.LoggerRepository hierarchy)
|
Method Summary | |
Logger |
getDefaultLogger()
Return the default Logger. |
Logger |
getLoggerForCategory(java.lang.String categoryName)
Return the Logger for the specified category. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final org.apache.log4j.spi.LoggerRepository m_hierarchy
Constructor Detail |
public Log4JAdapter(org.apache.log4j.spi.LoggerRepository hierarchy)
Method Detail |
public Logger getLoggerForCategory(java.lang.String categoryName)
getLoggerForCategory
in interface LoggerManager
public Logger getDefaultLogger()
getDefaultLogger
in interface LoggerManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |