log4j-jboss-logmanager 1.0.2.Final-redhat-1

org.apache.log4j
Class LogManager

java.lang.Object
  extended by org.apache.log4j.LogManager

public class LogManager
extends Object


Field Summary
static String CONFIGURATOR_CLASS_KEY
           
static String DEFAULT_CONFIGURATION_FILE
           
static String DEFAULT_CONFIGURATION_KEY
           
static String DEFAULT_INIT_OVERRIDE_KEY
           
 
Constructor Summary
LogManager()
           
 
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, org.apache.log4j.spi.LoggerFactory factory)
           
static org.apache.log4j.spi.LoggerRepository getLoggerRepository()
           
static Logger getRootLogger()
           
static void resetConfiguration()
           
static void setRepositorySelector(org.apache.log4j.spi.RepositorySelector selector, Object guard)
          Always throws a SecurityException.
static void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

LogManager

public LogManager()
Method Detail

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()

log4j-jboss-logmanager 1.0.2.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.