org.apache.avalon.excalibur.logger
Class LoggerLoggerManager

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

public class LoggerLoggerManager
extends java.lang.Object
implements LoggerManager

A LoggerManager that operates off of an existing Logger instance.

Author:
Avalon Development Team

Field Summary
 
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager
ROLE
 
Constructor Summary
LoggerLoggerManager(Logger logger)
           
 
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
 

Constructor Detail

LoggerLoggerManager

public LoggerLoggerManager(Logger logger)
Method Detail

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

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


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