|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.slf4j.ext.XLoggerFactory
public class XLoggerFactory
This class is essentially a wrapper around an
LoggerFactory
producing XLogger
instances.
Contrary to LoggerFactory.getLogger(String)
method of
LoggerFactory
, each call to getXLogger
produces a new instance of XLogger. This should not matter because an
XLogger instance does not have any state beyond that of the Logger instance
it wraps.
Constructor Summary | |
---|---|
XLoggerFactory()
|
Method Summary | |
---|---|
static XLogger |
getXLogger(java.lang.Class clazz)
Get a new XLogger instance by class. |
static XLogger |
getXLogger(java.lang.String name)
Get an XLogger instance by name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XLoggerFactory()
Method Detail |
---|
public static XLogger getXLogger(java.lang.String name)
name
-
public static XLogger getXLogger(java.lang.Class clazz)
clazz
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |