Package | Description |
---|---|
org.apache.log4j |
The main log4j package.
|
org.apache.log4j.spi |
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
|
org.apache.log4j.xml |
XML based components.
|
Modifier and Type | Field | Description |
---|---|---|
protected LoggerFactory |
PropertyConfigurator.loggerFactory |
Modifier and Type | Method | Description |
---|---|---|
Logger |
Hierarchy.getLogger(java.lang.String name,
LoggerFactory factory) |
Return a new logger instance named as the first parameter using
factory . |
static Logger |
Logger.getLogger(java.lang.String name,
LoggerFactory factory) |
Like
Logger.getLogger(String) except that the type of logger
instantiated depends on the type returned by the makeNewLoggerInstance(java.lang.String) method of the
factory parameter. |
static Logger |
LogManager.getLogger(java.lang.String name,
LoggerFactory factory) |
Retrieve the appropriate
Logger instance. |
Modifier and Type | Method | Description |
---|---|---|
Logger |
LoggerRepository.getLogger(java.lang.String name,
LoggerFactory factory) |
|
Logger |
NOPLoggerRepository.getLogger(java.lang.String name,
LoggerFactory factory) |
Modifier and Type | Field | Description |
---|---|---|
protected LoggerFactory |
DOMConfigurator.catFactory |
Copyright 2000-2007 Apache Software Foundation.