cgl.narada.util.logging
Class JavaLogger

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

public class JavaLogger
extends Object
implements Logger

Logger implementation using JDK1.4 Logger


Constructor Summary
JavaLogger(String name)
           
 
Method Summary
 void debug(Object message)
           
 void debug(Object message, Throwable exception)
           
 void error(Object message)
           
 void error(Object message, Throwable exception)
           
 void fatal(Object message)
           
 void fatal(Object message, Throwable exception)
           
 void info(Object message)
           
 void info(Object message, Throwable exception)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void warn(Object message)
           
 void warn(Object message, Throwable exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaLogger

public JavaLogger(String name)
Method Detail

debug

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

debug

public void debug(Object message,
                  Throwable exception)
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 exception)
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 exception)
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 exception)
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 exception)
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