Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
org.apache.log4j.Logger

Uses of Logger in org.apache.log4j
 

Fields in org.apache.log4j declared as Logger
(package private)  Logger Hierarchy.root
           
 

Methods in org.apache.log4j that return Logger
static Logger LogManager.getRootLogger()
          Retrieve the appropriate root logger.
static Logger LogManager.getLogger(java.lang.String name)
          Retrieve the appropriate Logger instance.
static Logger LogManager.getLogger(java.lang.Class clazz)
          Retrieve the appropriate Logger instance.
static Logger LogManager.getLogger(java.lang.String name, org.apache.log4j.spi.LoggerFactory factory)
          Retrieve the appropriate Logger instance.
static Logger LogManager.exists(java.lang.String name)
           
static Logger Logger.getLogger(java.lang.String name)
          Retrieve a logger named according to the value of the name parameter.
static Logger Logger.getLogger(java.lang.Class clazz)
          Shorthand for getLogger(clazz.getName()).
static Logger Logger.getRootLogger()
          Return the root logger for the current logger repository.
static Logger Logger.getLogger(java.lang.String name, org.apache.log4j.spi.LoggerFactory factory)
          Like getLogger(String) 55 except that the type of logger instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(java.lang.String)>LoggerFactory.makeNewLoggerInstance(java.lang.String) 55 method of the factory parameter.
 Logger Hierarchy.exists(java.lang.String name)
          Check if the named logger exists in the hierarchy.
 Logger Hierarchy.getLogger(java.lang.String name)
          Return a new logger instance named as the first parameter using the default factory.
 Logger Hierarchy.getLogger(java.lang.String name, org.apache.log4j.spi.LoggerFactory factory)
          Return a new logger instance named as the first parameter using factory.
 Logger Hierarchy.getRootLogger()
          Get the root of this hierarchy.
 Logger DefaultCategoryFactory.makeNewLoggerInstance(java.lang.String name)
           
static Logger Category.exists(java.lang.String name)
          Deprecated. Please use LogManager.exists(java.lang.String) 55 instead.
 

Methods in org.apache.log4j with parameters of type Logger
(package private)  void PropertyConfigurator.parseAdditivityForLogger(java.util.Properties props, Logger cat, java.lang.String loggerName)
          Parse the additivity option for a non-root category.
(package private)  void PropertyConfigurator.parseCategory(java.util.Properties props, Logger logger, java.lang.String optionKey, java.lang.String loggerName, java.lang.String value)
          This method must work for the root category as well.
private  void Hierarchy.updateParents(Logger cat)
          This method loops through all the *potential* parents of 'cat'.
private  void Hierarchy.updateChildren(ProvisionNode pn, Logger logger)
          We update the links for all the children that placed themselves in the provision node 'pn'.
 

Constructors in org.apache.log4j with parameters of type Logger
ProvisionNode(Logger logger)
           
Hierarchy(Logger root)
          Create a new logger hierarchy.