org.openorb.util.logger
Class MainLoggerTeam

java.lang.Object
  |
  +--org.openorb.util.logger.AbstractLoggerTeam
        |
        +--org.openorb.util.logger.MainLoggerTeam
All Implemented Interfaces:
org.apache.avalon.framework.logger.Logger, LoggerTeam, LoggerTeam.StandardTags

public final class MainLoggerTeam
extends AbstractLoggerTeam

Provides a main logger team.

Version:
$Revision: 1.3 $ $Date: 2003/05/02 15:40:03 $
Author:
Richard G Clark

Inner classes inherited from class org.openorb.util.logger.LoggerTeam
LoggerTeam.StandardTags
 
Fields inherited from class org.openorb.util.logger.AbstractLoggerTeam
NULL_LOGGER
 
Fields inherited from interface org.openorb.util.logger.LoggerTeam.StandardTags
DIAGNOSTIC_LOGGER_TAG, MAIN_LOGGER_TAG
 
Constructor Summary
MainLoggerTeam(org.apache.avalon.framework.logger.Logger mainLogger)
          Constructs this object with the specified main logger.
 
Method Summary
 LoggerTeam createChildLoggerTeam(String name)
          Creates a new child LoggerTeam with the specified name.
 LoggerTeam createPrefixingLoggerTeam()
          Creates a prefixing version of this LoggerTeam.
static LoggerTeam narrow(org.apache.avalon.framework.logger.Logger logger)
          Narrow a Logger to a LoggerTeam by either casting or wrapping in and instance of MainLoggerTeam
 
Methods inherited from class org.openorb.util.logger.AbstractLoggerTeam
createPrefixingLogger, debug, debug, error, error, fatalError, fatalError, getChildLogger, getMember, info, info, isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isNullLogger, isWarnEnabled, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainLoggerTeam

public MainLoggerTeam(org.apache.avalon.framework.logger.Logger mainLogger)
Constructs this object with the specified main logger. If no main logger is supplied then the null logger is used.
Parameters:
mainLogger - the main logger of the team
Method Detail

createChildLoggerTeam

public LoggerTeam createChildLoggerTeam(String name)
Description copied from interface: LoggerTeam
Creates a new child LoggerTeam with the specified name. This operation has the same function as the getChildLogger operation, but avoids the need to cast to LoggerTeam.
See Also:
LoggerTeam.createChildLoggerTeam(String)

createPrefixingLoggerTeam

public LoggerTeam createPrefixingLoggerTeam()
Description copied from interface: LoggerTeam
Creates a prefixing version of this LoggerTeam.
See Also:
LoggerTeam.createPrefixingLoggerTeam()

narrow

public static LoggerTeam narrow(org.apache.avalon.framework.logger.Logger logger)
Narrow a Logger to a LoggerTeam by either casting or wrapping in and instance of MainLoggerTeam
Parameters:
logger - the logger to be narrowed
Returns:
the narrowed logger