|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.excalibur.logger.SimpleLogKitManager
public class SimpleLogKitManager
A LoggerManager
that supports the old <logs version="1.0"/>
style logging configuration from
Phoenix.
Field Summary |
---|
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager |
---|
ROLE |
Constructor Summary | |
---|---|
SimpleLogKitManager()
|
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Interpret configuration to build loggers. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Contextualize the manager. |
void |
dispose()
Close any closable log targets opened by LoggerManager. |
org.apache.avalon.framework.logger.Logger |
getDefaultLogger()
Retrieve the root logger. |
org.apache.avalon.framework.logger.Logger |
getLoggerForCategory(java.lang.String name)
Retrieve a logger by name. |
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 SimpleLogKitManager()
Method Detail |
---|
public 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
org.apache.avalon.framework.context.ContextException
- if missing context entrypublic 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
org.apache.avalon.framework.configuration.ConfigurationException
- if malformed configurationpublic void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
public org.apache.avalon.framework.logger.Logger getLoggerForCategory(java.lang.String name)
getLoggerForCategory
in interface LoggerManager
name
- the name of logger
public org.apache.avalon.framework.logger.Logger getDefaultLogger()
getDefaultLogger
in interface LoggerManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |