|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.avalon.excalibur.logger.LogKitLoggerManager
LogKitLoggerManager implementation. It populates the LoggerManager from a configuration file.
コンストラクタの概要 | |
LogKitLoggerManager()
Creates a new DefaultLogKitManager . |
|
LogKitLoggerManager(org.apache.log.Hierarchy hierarchy)
Creates a new DefaultLogKitManager with an existing Hierarchy . |
|
LogKitLoggerManager(java.lang.String prefix)
Creates a new DefaultLogKitManager using
specified logger name as root logger. |
|
LogKitLoggerManager(java.lang.String prefix,
org.apache.log.Hierarchy hierarchy)
Creates a new DefaultLogKitManager with an existing Hierarchy using
specified logger name as root logger. |
|
LogKitLoggerManager(java.lang.String prefix,
org.apache.log.Hierarchy hierarchy,
org.apache.avalon.framework.logger.Logger defaultLogger)
Creates a new DefaultLogKitManager with an existing Hierarchy using
specified logger name as root logger. |
メソッドの概要 | |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Reads a configuration object and creates the category mapping. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Reads a context object. |
org.apache.avalon.framework.logger.Logger |
getDefaultLogger()
Return the default Logger. |
org.apache.avalon.framework.logger.Logger |
getLoggerForCategory(java.lang.String categoryName)
Retrieves a Logger from a category name. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public LogKitLoggerManager()
DefaultLogKitManager
. It will use a new Hierarchy
.public LogKitLoggerManager(org.apache.log.Hierarchy hierarchy)
DefaultLogKitManager
with an existing Hierarchy
.public LogKitLoggerManager(java.lang.String prefix)
DefaultLogKitManager
using
specified logger name as root logger.public LogKitLoggerManager(java.lang.String prefix, org.apache.log.Hierarchy hierarchy)
DefaultLogKitManager
with an existing Hierarchy
using
specified logger name as root logger.public LogKitLoggerManager(java.lang.String prefix, org.apache.log.Hierarchy hierarchy, org.apache.avalon.framework.logger.Logger defaultLogger)
DefaultLogKitManager
with an existing Hierarchy
using
specified logger name as root logger.メソッドの詳細 |
public final org.apache.avalon.framework.logger.Logger getLoggerForCategory(java.lang.String categoryName)
LoggerManager
内の getLoggerForCategory
categoryName
- The category name of a configured Logger.public final org.apache.avalon.framework.logger.Logger getDefaultLogger()
LoggerManager
の記述: LoggerManager
内の getDefaultLogger
public final void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
org.apache.avalon.framework.context.Contextualizable
内の contextualize
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
org.apache.avalon.framework.configuration.Configurable
内の configure
configuration
- The configuration object.org.apache.avalon.framework.configuration.ConfigurationException
- if the configuration is malformed
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |