cgl.narada.util.logging
Interface Logger

All Known Implementing Classes:
JavaLogger, Log4jLogger, SimpleLogger

public interface Logger

  1. external configuration independent of the Logger implementation
  2. constructor which accepts one String argument representing Logger's name

Version:
1.0

Method Summary
 void debug(Object message)
           
 void debug(Object message, Throwable t)
           
 void error(Object message)
           
 void error(Object message, Throwable t)
           
 void fatal(Object message)
           
 void fatal(Object message, Throwable t)
           
 void info(Object message)
           
 void info(Object message, Throwable t)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(Object message)
           
 void warn(Object message, Throwable t)
           
 

Method Detail

isDebugEnabled

boolean isDebugEnabled()

isInfoEnabled

boolean isInfoEnabled()

isWarnEnabled

boolean isWarnEnabled()

isErrorEnabled

boolean isErrorEnabled()

isFatalEnabled

boolean isFatalEnabled()

debug

void debug(Object message)

debug

void debug(Object message,
           Throwable t)

info

void info(Object message)

info

void info(Object message,
          Throwable t)

warn

void warn(Object message)

warn

void warn(Object message,
          Throwable t)

error

void error(Object message)

error

void error(Object message,
           Throwable t)

fatal

void fatal(Object message)

fatal

void fatal(Object message,
           Throwable t)


For comments and suggestions please send e-mail to The NaradaBrokering Project