|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.LogManager
public class LogManager
This class is a minimal implementation of the original
org.apache.log4j.LogManager
class (as found in log4j 1.2)
delegating all calls to SLF4J.
This implementation does NOT implement the setRepositorySelector(), getLoggerRepository(), exists(), getCurrentLoggers(), shutdown() and resetConfiguration() methods which do not have SLF4J equivalents.
Constructor Summary | |
---|---|
LogManager()
|
Method Summary | |
---|---|
static Enumeration |
getCurrentLoggers()
This bogus implementation returns an empty enumeration. |
static Logger |
getLogger(Class clazz)
|
static Logger |
getLogger(String name)
|
static Logger |
getRootLogger()
|
static void |
resetConfiguration()
Implemented as NOP. |
static void |
shutdown()
Implemented as NOP. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogManager()
Method Detail |
---|
public static Logger getRootLogger()
public static Logger getLogger(String name)
public static Logger getLogger(Class clazz)
public static Enumeration getCurrentLoggers()
public static void shutdown()
public static void resetConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |