org.openorb.util.logger
Class NullLoggerTeam
java.lang.Object
|
+--org.openorb.util.logger.NullLoggerTeam
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.Logger, LoggerTeam
- public final class NullLoggerTeam
- extends Object
- implements LoggerTeam
A null implementation of LoggerTeam.
- Version:
- $Revision: 1.2 $ $Date: 2004/02/10 21:28:45 $
- Author:
- Richard G Clark
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static LoggerTeam getInstance()
getMember
public org.apache.avalon.framework.logger.Logger getMember(Object tag)
- Description copied from interface:
LoggerTeam
- Returns the memeber logger associated with the tag.
This operation will always return a logger as an undefined tag
is implicitly associated with a
NullLogger.
- Specified by:
getMember in interface LoggerTeam
- See Also:
LoggerTeam.getMember(Object)
getChildLogger
public org.apache.avalon.framework.logger.Logger getChildLogger(String name)
- Specified by:
getChildLogger in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.getChildLogger(String)
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.
- Specified by:
createChildLoggerTeam in interface LoggerTeam
- See Also:
LoggerTeam.createChildLoggerTeam(String)
createPrefixingLoggerTeam
public LoggerTeam createPrefixingLoggerTeam()
- Description copied from interface:
LoggerTeam
- Creates a prefixing version of this
LoggerTeam.
- Specified by:
createPrefixingLoggerTeam in interface LoggerTeam
- See Also:
LoggerTeam.createPrefixingLoggerTeam()
debug
public void debug(String message)
- Specified by:
debug in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.debug(String)
debug
public void debug(String message,
Throwable throwable)
- Specified by:
debug in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.debug(String,Throwable)
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isDebugEnabled()
info
public void info(String message)
- Specified by:
info in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.info(String)
info
public void info(String message,
Throwable throwable)
- Specified by:
info in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.info(String,Throwable)
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isInfoEnabled()
warn
public void warn(String message)
- Specified by:
warn in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.warn(String)
warn
public void warn(String message,
Throwable throwable)
- Specified by:
warn in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.warn(String,Throwable)
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isWarnEnabled()
error
public void error(String message)
- Specified by:
error in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.error(String)
error
public void error(String message,
Throwable throwable)
- Specified by:
error in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.error(String,Throwable)
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isErrorEnabled()
fatalError
public void fatalError(String message)
- Specified by:
fatalError in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.fatalError(String)
fatalError
public void fatalError(String message,
Throwable throwable)
- Specified by:
fatalError in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.fatalError(String,Throwable)
isFatalErrorEnabled
public boolean isFatalErrorEnabled()
- Specified by:
isFatalErrorEnabled in interface org.apache.avalon.framework.logger.Logger
- See Also:
Logger.isFatalErrorEnabled()