|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.spy.memcached.compat.log.AbstractLogger net.spy.memcached.compat.log.Log4JLogger
public class Log4JLogger
Logging implementation using log4j.
Constructor Summary | |
---|---|
Log4JLogger(String name)
Get an instance of Log4JLogger. |
Method Summary | |
---|---|
boolean |
isDebugEnabled()
True if the underlying logger would allow debug messages through. |
boolean |
isInfoEnabled()
True if the underlying logger would allow info messages through. |
void |
log(Level level,
Object message,
Throwable e)
Wrapper around log4j. |
Methods inherited from class net.spy.memcached.compat.log.AbstractLogger |
---|
debug, debug, debug, error, error, error, fatal, fatal, fatal, getName, getThrowable, info, info, info, log, warn, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log4JLogger(String name)
Method Detail |
---|
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
isDebugEnabled
in class AbstractLogger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
isInfoEnabled
in class AbstractLogger
public void log(Level level, Object message, Throwable e)
log
in interface Logger
log
in class AbstractLogger
level
- net.spy.compat.log.AbstractLogger level.message
- object messagee
- optional throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |