cgl.narada.util.logging
Class Log4jLogger

java.lang.Object
  extended by cgl.narada.util.logging.Log4jLogger
All Implemented Interfaces:
Logger

public class Log4jLogger
extends Object
implements Logger

Log4j Logger implementation

Version:
1.0

Constructor Summary
Log4jLogger()
           
Log4jLogger(String name)
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jLogger

public Log4jLogger()

Log4jLogger

public Log4jLogger(String name)
Method Detail

debug

public void debug(Object message)
Specified by:
debug in interface Logger

debug

public void debug(Object message,
                  Throwable t)
Specified by:
debug in interface Logger

info

public void info(Object message)
Specified by:
info in interface Logger

info

public void info(Object message,
                 Throwable t)
Specified by:
info in interface Logger

warn

public void warn(Object message)
Specified by:
warn in interface Logger

warn

public void warn(Object message,
                 Throwable t)
Specified by:
warn in interface Logger

error

public void error(Object message)
Specified by:
error in interface Logger

error

public void error(Object message,
                  Throwable t)
Specified by:
error in interface Logger

fatal

public void fatal(Object message)
Specified by:
fatal in interface Logger

fatal

public void fatal(Object message,
                  Throwable t)
Specified by:
fatal in interface Logger

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface Logger

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface Logger

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface Logger

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface Logger

isFatalEnabled

public boolean isFatalEnabled()
Specified by:
isFatalEnabled in interface Logger


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