org.apache.log4j
Class LogManager
java.lang.Object
org.apache.log4j.LogManager
public class LogManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONFIGURATION_FILE
public static final String DEFAULT_CONFIGURATION_FILE
- See Also:
- Constant Field Values
DEFAULT_CONFIGURATION_KEY
public static final String DEFAULT_CONFIGURATION_KEY
- See Also:
- Constant Field Values
CONFIGURATOR_CLASS_KEY
public static final String CONFIGURATOR_CLASS_KEY
- See Also:
- Constant Field Values
DEFAULT_INIT_OVERRIDE_KEY
public static final String DEFAULT_INIT_OVERRIDE_KEY
- See Also:
- Constant Field Values
LogManager
public LogManager()
setRepositorySelector
public static void setRepositorySelector(org.apache.log4j.spi.RepositorySelector selector,
Object guard)
throws SecurityException
- Always throws a
SecurityException
. This method is not supported.
- Parameters:
selector
- the repository selector.guard
- a guard object.
- Throws:
SecurityException
- always
getLoggerRepository
public static org.apache.log4j.spi.LoggerRepository getLoggerRepository()
getRootLogger
public static Logger getRootLogger()
getLogger
public static Logger getLogger(String name)
getLogger
public static Logger getLogger(Class clazz)
getLogger
public static Logger getLogger(String name,
org.apache.log4j.spi.LoggerFactory factory)
exists
public static Logger exists(String name)
getCurrentLoggers
public static Enumeration getCurrentLoggers()
shutdown
public static void shutdown()
resetConfiguration
public static void resetConfiguration()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.