|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.spy.memcached.compat.log.LoggerFactory
public final class LoggerFactory
Factory to get logger instances.
The system property net.spy.compat.log.LoggerImpl
should point to an implementation of net.spy.compat.log.Logger to
use.
Depending on how and where this was compiled, a sun logger (jdk 1.4) and/or log4j logger implementation may be included. Both are included with the official distribution.
AbstractLogger
Method Summary | |
---|---|
static Logger |
getLogger(Class<?> clazz)
Get a logger by class. |
static Logger |
getLogger(String name)
Get a logger by name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Logger getLogger(Class<?> clazz)
clazz
- the class for which we want the logger.
public static Logger getLogger(String name)
name
- the name for which we want the logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |