|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLogEnabled | +--org.apache.avalon.excalibur.logger.DefaultLogKitManager
Default LogManager implementation. It populates the LogManager from a configuration file.
Constructor Summary | |
DefaultLogKitManager()
Deprecated. Creates a new DefaultLogKitManager . |
|
DefaultLogKitManager(org.apache.log.Hierarchy hierarchy)
Deprecated. Creates a new DefaultLogKitManager with an existing Hierarchy . |
|
DefaultLogKitManager(java.lang.String prefix)
Deprecated. Creates a new DefaultLogKitManager using
specified logger name as root logger. |
|
DefaultLogKitManager(java.lang.String prefix,
org.apache.log.Hierarchy hierarchy)
Deprecated. Creates a new DefaultLogKitManager with an existing Hierarchy using
specified logger name as root logger. |
Method Summary | |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Deprecated. Reads a configuration object and creates the category mapping. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Deprecated. Reads a context object. |
org.apache.log.Hierarchy |
getHierarchy()
Deprecated. Retrieve Hierarchy for Loggers configured by the system. |
org.apache.log.Logger |
getLogger(java.lang.String categoryName)
Deprecated. Retrieves a Logger from a category name. |
void |
setLogger(org.apache.log.Logger logger)
Deprecated. |
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 DefaultLogKitManager()
DefaultLogKitManager
. It will use a new Hierarchy
.public DefaultLogKitManager(org.apache.log.Hierarchy hierarchy)
DefaultLogKitManager
with an existing Hierarchy
.public DefaultLogKitManager(java.lang.String prefix)
DefaultLogKitManager
using
specified logger name as root logger.public DefaultLogKitManager(java.lang.String prefix, org.apache.log.Hierarchy hierarchy)
DefaultLogKitManager
with an existing Hierarchy
using
specified logger name as root logger.Method Detail |
public void setLogger(org.apache.log.Logger logger)
setLogger
in interface org.apache.avalon.framework.logger.Loggable
public final org.apache.log.Logger getLogger(java.lang.String categoryName)
getLogger
in interface LogKitManager
categoryName
- The category name of a configured Logger.public org.apache.log.Hierarchy getHierarchy()
getHierarchy
in interface LogKitManager
public final void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
context
- The context object.org.apache.avalon.framework.context.ContextException
- if the context is malformedpublic final void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
configuration
- The configuration object.org.apache.avalon.framework.configuration.ConfigurationException
- if the configuration is malformed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |