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 and Description |
---|---|
protected LoggerFactory |
PropertyConfigurator.loggerFactory |
Modifier and Type | Method and Description |
---|---|
Logger |
Hierarchy.getLogger(String name,
LoggerFactory factory)
Return a new logger instance named as the first parameter using
factory . |
static Logger |
Logger.getLogger(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(String name,
LoggerFactory factory)
Retrieve the appropriate
Logger instance. |
Modifier and Type | Method and Description |
---|---|
Logger |
LoggerRepository.getLogger(String name,
LoggerFactory factory) |
Logger |
NOPLoggerRepository.getLogger(String name,
LoggerFactory factory) |
Modifier and Type | Field and Description |
---|---|
protected LoggerFactory |
DOMConfigurator.catFactory |
Copyright © 1999–2023 QOS.CH Sarl (Switzerland). All rights reserved.