|
||||||||||
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.SunLogger
public class SunLogger
Logging implementation using the sun logger.
Constructor Summary | |
---|---|
SunLogger(String name)
Get an instance of SunLogger. |
Method Summary | |
---|---|
boolean |
isDebugEnabled()
True if the underlying logger would allow Level.FINE through. |
boolean |
isInfoEnabled()
True if the underlying logger would allow Level.INFO through. |
void |
log(Level level,
Object message,
Throwable e)
Wrapper around sun logger. |
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 SunLogger(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 |