org.apache.avalon.excalibur.logger
Class ConsoleLoggerManager

java.lang.Object
  extended by org.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  org.apache.avalon.framework.logger.Logger m_logger
           
 
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager
ROLE
 
Constructor Summary
ConsoleLoggerManager()
          Constructor
 
Method Summary
 org.apache.avalon.framework.logger.Logger getDefaultLogger()
          Return the default Logger.
 org.apache.avalon.framework.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 org.apache.avalon.framework.logger.Logger m_logger
Constructor Detail

ConsoleLoggerManager

public ConsoleLoggerManager()
Constructor

Method Detail

getDefaultLogger

public org.apache.avalon.framework.logger.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 org.apache.avalon.framework.logger.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-2010 Apache Software Foundation. All Rights Reserved.