org.apache.avalon.logging.provider
Interface LoggingManager

All Known Implementing Classes:
DefaultLoggingManager, LoggingManagerImpl

public interface LoggingManager

A LoggerManager that supports the management of a logging hierarchy.

Version:
$Revision: 1.2 $ $Date: 2004/03/17 10:30:07 $
Author:
Avalon Development Team

Field Summary
static String KEY
          Standard context key for the logging manager.
 
Method Summary
 void addCategories(CategoriesDirective descriptor)
          Add a set of category entries using the supplied categories descriptor.
 void addCategories(String path, CategoriesDirective descriptor)
          Add a set of category entries relative to the supplied base category path, using the supplied descriptor as the definition of subcategories.
 Logger getLoggerForCategory(String category)
          Return the Logger for the specified category.
 

Field Detail

KEY

public static final String KEY
Standard context key for the logging manager.

See Also:
Constant Field Values
Method Detail

addCategories

public void addCategories(CategoriesDirective descriptor)
Add a set of category entries using the supplied categories descriptor.

Parameters:
descriptor - a set of category descriptors to be added under the path

addCategories

public void addCategories(String path,
                          CategoriesDirective descriptor)
Add a set of category entries relative to the supplied base category path, using the supplied descriptor as the definition of subcategories.

Parameters:
path - the category base path
descriptor - a set of category descriptors to be added under the base path

getLoggerForCategory

public Logger getLoggerForCategory(String category)
Return the Logger for the specified category.

Parameters:
category - the category path
Returns:
the logging channel


Copyright © The Apache Software Foundation. All Rights Reserved.