|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.LogManager
public final class LogManager
Field Summary | |
---|---|
static String |
CONFIGURATOR_CLASS_KEY
Deprecated. This variable is for internal use only. It will become private in future versions. |
static String |
DEFAULT_CONFIGURATION_FILE
Deprecated. This variable is for internal use only. It will become package protected in future versions. |
static String |
DEFAULT_CONFIGURATION_KEY
Deprecated. This variable is for internal use only. It will become private in future versions. |
static String |
DEFAULT_INIT_OVERRIDE_KEY
Deprecated. This variable is for internal use only. It will become private in future versions. |
Method Summary | |
---|---|
static Logger |
exists(String name)
|
static Enumeration |
getCurrentLoggers()
|
static Logger |
getLogger(Class clazz)
|
static Logger |
getLogger(String name)
|
static Logger |
getLogger(String name,
LoggerFactory factory)
|
static LoggerRepository |
getLoggerRepository()
|
static Logger |
getRootLogger()
|
static void |
resetConfiguration()
No-op implementation. |
static void |
setRepositorySelector(RepositorySelector selector,
Object guard)
No-op implementation. |
static void |
shutdown()
No-op implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final String DEFAULT_CONFIGURATION_FILE
@Deprecated public static final String DEFAULT_CONFIGURATION_KEY
@Deprecated public static final String CONFIGURATOR_CLASS_KEY
@Deprecated public static final String DEFAULT_INIT_OVERRIDE_KEY
Method Detail |
---|
public static Logger getRootLogger()
public static Logger getLogger(String name)
public static Logger getLogger(Class clazz)
public static Logger getLogger(String name, LoggerFactory factory)
public static Logger exists(String name)
public static Enumeration getCurrentLoggers()
public static void shutdown()
public static void resetConfiguration()
public static void setRepositorySelector(RepositorySelector selector, Object guard) throws IllegalArgumentException
selector
- The RepositorySelector.guard
- prevents calls at the incorrect time.
IllegalArgumentException
- if a parameter is invalid.public static LoggerRepository getLoggerRepository()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.