程序包 | 说明 |
---|---|
com.fr.third.apache.log4j |
The main log4j package.
|
com.fr.third.apache.log4j.helpers |
This package is used internally.
|
com.fr.third.apache.log4j.lf5 | |
com.fr.third.apache.log4j.net |
Package for remote logging.
|
com.fr.third.apache.log4j.spi |
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
|
com.fr.third.apache.log4j.varia |
Contains various appenders, filters and other odds and ends.
|
com.fr.third.apache.log4j.xml |
XML based components.
|
限定符和类型 | 类和说明 |
---|---|
class |
Hierarchy
This class is specialized in retrieving loggers by name and also
maintaining the logger hierarchy.
|
限定符和类型 | 字段和说明 |
---|---|
protected LoggerRepository |
Category.repository |
限定符和类型 | 方法和说明 |
---|---|
static LoggerRepository |
Category.getDefaultHierarchy()
已过时。
Please use
LogManager.getLoggerRepository() instead. |
LoggerRepository |
Category.getHierarchy()
已过时。
Please use
Category.getLoggerRepository() instead. |
static LoggerRepository |
LogManager.getLoggerRepository() |
LoggerRepository |
Category.getLoggerRepository()
Return the the
LoggerRepository where this
Category is attached. |
限定符和类型 | 方法和说明 |
---|---|
void |
PropertyConfigurator.doConfigure(java.io.InputStream inputStream,
LoggerRepository hierarchy)
Read configuration options from url
configURL . |
void |
PropertyConfigurator.doConfigure(java.util.Properties properties,
LoggerRepository hierarchy)
Read configuration options from
properties . |
void |
PropertyConfigurator.doConfigure(java.lang.String configFileName,
LoggerRepository hierarchy)
Read configuration from a file.
|
void |
PropertyConfigurator.doConfigure(java.net.URL configURL,
LoggerRepository hierarchy)
Read configuration options from url
configURL . |
protected void |
PropertyConfigurator.parseCatsAndRenderers(java.util.Properties props,
LoggerRepository hierarchy)
Parse non-root elements, such non-root categories and renderers.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
OptionConverter.selectAndConfigure(java.io.InputStream inputStream,
java.lang.String clazz,
LoggerRepository hierarchy)
Configure log4j given an
InputStream . |
static void |
OptionConverter.selectAndConfigure(java.net.URL url,
java.lang.String clazz,
LoggerRepository hierarchy)
Configure log4j given a URL.
|
限定符和类型 | 方法和说明 |
---|---|
void |
DefaultLF5Configurator.doConfigure(java.io.InputStream inputStream,
LoggerRepository repository)
This is a dummy method that will throw an
IllegalStateException if used. |
void |
DefaultLF5Configurator.doConfigure(java.net.URL configURL,
LoggerRepository repository)
This is a dummy method that will throw an
IllegalStateException if used. |
构造器和说明 |
---|
SocketNode(java.net.Socket socket,
LoggerRepository hierarchy) |
限定符和类型 | 类和说明 |
---|---|
class |
NOPLoggerRepository
No-operation implementation of LoggerRepository which is used when
LogManager.repositorySelector is erroneously nulled during class reloading.
|
限定符和类型 | 方法和说明 |
---|---|
LoggerRepository |
RepositorySelector.getLoggerRepository()
Returns a
LoggerRepository depending on the
context. |
LoggerRepository |
DefaultRepositorySelector.getLoggerRepository() |
限定符和类型 | 方法和说明 |
---|---|
void |
Configurator.doConfigure(java.io.InputStream inputStream,
LoggerRepository repository)
Interpret a resource pointed by a InputStream and set up log4j accordingly.
|
void |
Configurator.doConfigure(java.net.URL url,
LoggerRepository repository)
Interpret a resource pointed by a URL and set up log4j accordingly.
|
构造器和说明 |
---|
DefaultRepositorySelector(LoggerRepository repository) |
限定符和类型 | 方法和说明 |
---|---|
void |
ReloadingPropertyConfigurator.doConfigure(java.io.InputStream inputStream,
LoggerRepository repository) |
void |
ReloadingPropertyConfigurator.doConfigure(java.net.URL url,
LoggerRepository repository) |
限定符和类型 | 方法和说明 |
---|---|
void |
DOMConfigurator.doConfigure(org.w3c.dom.Element element,
LoggerRepository repository)
Configure by taking in an DOM element.
|
protected void |
DOMConfigurator.doConfigure(org.xml.sax.InputSource inputSource,
LoggerRepository repository)
Configure log4j by reading in a log4j.dtd compliant XML
configuration file.
|
void |
DOMConfigurator.doConfigure(java.io.InputStream inputStream,
LoggerRepository repository)
Configure log4j by reading in a log4j.dtd compliant XML
configuration file.
|
void |
DOMConfigurator.doConfigure(java.io.Reader reader,
LoggerRepository repository)
Configure log4j by reading in a log4j.dtd compliant XML
configuration file.
|
void |
DOMConfigurator.doConfigure(java.lang.String filename,
LoggerRepository repository) |
void |
DOMConfigurator.doConfigure(java.net.URL url,
LoggerRepository repository) |