|
|||||||||||
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.DefaultLogTargetManager
Default LogTargetManager implementation. It populates the LogTargetManager from a configuration file.
Constructor Summary | |
DefaultLogTargetManager()
|
Method Summary | |
void |
configure(Configuration configuration)
Reads a configuration object and creates the log targets. |
LogTarget |
getLogTarget(java.lang.String id)
Retrieves a LogTarget for an ID. |
void |
setLogTargetFactoryManager(LogTargetFactoryManager logTargetFactoryManager)
Gets the LogTargetFactoryManager. |
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 |
Constructor Detail |
public DefaultLogTargetManager()
Method Detail |
public final LogTarget getLogTarget(java.lang.String id)
getLogTarget
in interface LogTargetManager
id
- The LogTarget ID
public final void setLogTargetFactoryManager(LogTargetFactoryManager logTargetFactoryManager)
setLogTargetFactoryManager
in interface LogTargetFactoryManageable
public final void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configuration
- The configuration object.
ConfigurationException
- if the configuration is malformed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |