Configuration Platform SDK 7.6 API Reference

com.genesyslab.platform.commons.log
Class NullLoggerImpl

java.lang.Object
  extended bycom.genesyslab.platform.commons.log.AbstractLogger
      extended bycom.genesyslab.platform.commons.log.NullLoggerImpl
All Implemented Interfaces:
ILogger

public class NullLoggerImpl
extends AbstractLogger

This class is useful for situations where you need to provide a logger to a utility class, but do not want any output from it. It also helps when you have a utility that does not have a logger to supply.


Constructor Summary
NullLoggerImpl()
           
 
Method Summary
 ILogger createChildLogger(java.lang.String name)
          Create a new child logger.
 boolean isDebug()
           
 boolean isError()
           
 boolean isFatalError()
           
 boolean isInfo()
           
 boolean isWarn()
           
 
Methods inherited from class com.genesyslab.platform.commons.log.AbstractLogger
debug, debug, debugFormat, error, error, errorFormat, fatalError, fatalError, fatalErrorFormat, info, info, infoFormat, warn, warn, warnFormat
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullLoggerImpl

public NullLoggerImpl()
Method Detail

isDebug

public boolean isDebug()

isInfo

public boolean isInfo()

isError

public boolean isError()

isFatalError

public boolean isFatalError()

isWarn

public boolean isWarn()

createChildLogger

public ILogger createChildLogger(java.lang.String name)
Description copied from interface: ILogger
Create a new child logger. The name of the child logger is usually as following [current-loggers-name].[passed-in-name]

Parameters:
name - The Subname of this logger
Returns:
The New ILogger instance

Configuration Platform SDK 7.6 API Reference

Send comments on this topic.
Copyright © 2006–2008 Genesys Telecommunication Laboratories, Inc. All rights reserved.