org.apache.avalon.phoenix.components.logger
Class DefaultLogManager
java.lang.Object
|
+--AbstractLogEnabled
|
+--org.apache.avalon.phoenix.components.logger.DefaultLogManager
- All Implemented Interfaces:
- LogManager
- public class DefaultLogManager
- extends AbstractLogEnabled
- implements LogManager
Interface that is used to manage Log objects for a Sar.
- Author:
- Peter Donald
- See Also:
- Serialized Form
Fields inherited from interface org.apache.avalon.phoenix.interfaces.LogManager |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLogManager
public DefaultLogManager()
createHierarchy
public Logger createHierarchy(SarMetaData metaData,
Configuration logs,
ClassLoader classLoader)
throws Exception
- Create a Logger hierarchy for specified application.
- Specified by:
createHierarchy
in interface LogManager
- Parameters:
metaData
- the metadata for applicationlogs
- the configuration data for loggingclassLoader
- the ClassLoader for application
- Returns:
- the Log hierarchy
- Throws:
Exception
- if unable to create Loggers
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.