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

Field Summary
 
Fields inherited from interface org.apache.avalon.phoenix.interfaces.LogManager
ROLE
 
Constructor Summary
DefaultLogManager()
           
 
Method Summary
 Logger createHierarchy(SarMetaData metaData, Configuration logs, ClassLoader classLoader)
          Create a Logger hierarchy for specified application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLogManager

public DefaultLogManager()
Method Detail

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 application
logs - the configuration data for logging
classLoader - the ClassLoader for application
Returns:
the Log hierarchy
Throws:
Exception - if unable to create Loggers


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.