org.apache.avalon.excalibur.logger
Class ConsoleLoggerManager

java.lang.Object
  extended byorg.apache.avalon.excalibur.logger.ConsoleLoggerManager
All Implemented Interfaces:
LoggerManager

public class ConsoleLoggerManager
extends java.lang.Object
implements LoggerManager

This is a very simple logger manager for debugging purpose that uses always the ConsoleLogger

Version:
CVS $Revision: 1.1 $ $Date: 2004/03/10 13:54:49 $
Author:
Avalon Development Team

Field Summary
protected  Logger m_logger
           
 
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager
ROLE
 
Constructor Summary
ConsoleLoggerManager()
          Constructor
 
Method Summary
 Logger getDefaultLogger()
          Return the default Logger.
 Logger getLoggerForCategory(java.lang.String categoryName)
          Return the Logger for the specified category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_logger

protected Logger m_logger
Constructor Detail

ConsoleLoggerManager

public ConsoleLoggerManager()
Constructor

Method Detail

getDefaultLogger

public Logger getDefaultLogger()
Description copied from interface: LoggerManager
Return the default Logger. This is basically the same as getting the Logger for the "" category.

Specified by:
getDefaultLogger in interface LoggerManager

getLoggerForCategory

public Logger getLoggerForCategory(java.lang.String categoryName)
Description copied from interface: LoggerManager
Return the Logger for the specified category.

Specified by:
getLoggerForCategory in interface LoggerManager


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.