Uses of Interface
org.apache.log4j.spi.LoggerRepository
Packages that use LoggerRepository
Package
Description
The main log4j package.
This package is used internally.
Package for remote logging.
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
Contains various appenders, filters and other odds and ends.
XML based components.
-
Uses of LoggerRepository in org.apache.log4j
Classes in org.apache.log4j that implement LoggerRepositoryModifier and TypeClassDescriptionclass
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.Fields in org.apache.log4j declared as LoggerRepositoryMethods in org.apache.log4j that return LoggerRepositoryModifier and TypeMethodDescriptionstatic LoggerRepository
Category.getDefaultHierarchy()
Deprecated.Category.getHierarchy()
Deprecated.Please useCategory.getLoggerRepository()
instead.Category.getLoggerRepository()
Return the theLoggerRepository
where thisCategory
is attached.static LoggerRepository
LogManager.getLoggerRepository()
Methods in org.apache.log4j with parameters of type LoggerRepositoryModifier and TypeMethodDescriptionvoid
PropertyConfigurator.doConfigure
(InputStream inputStream, LoggerRepository hierarchy) Read configuration options from urlconfigURL
.void
PropertyConfigurator.doConfigure
(String configFileName, LoggerRepository hierarchy) Read configuration from a file.void
PropertyConfigurator.doConfigure
(URL configURL, LoggerRepository hierarchy) Read configuration options from urlconfigURL
.void
PropertyConfigurator.doConfigure
(Properties properties, LoggerRepository hierarchy) Read configuration options fromproperties
.protected void
PropertyConfigurator.parseCatsAndRenderers
(Properties props, LoggerRepository hierarchy) Parse non-root elements, such non-root categories and renderers. -
Uses of LoggerRepository in org.apache.log4j.helpers
Methods in org.apache.log4j.helpers with parameters of type LoggerRepositoryModifier and TypeMethodDescriptionstatic void
OptionConverter.selectAndConfigure
(InputStream inputStream, String clazz, LoggerRepository hierarchy) Configure log4j given anInputStream
.static void
OptionConverter.selectAndConfigure
(URL url, String clazz, LoggerRepository hierarchy) Configure log4j given a URL. -
Uses of LoggerRepository in org.apache.log4j.net
Constructors in org.apache.log4j.net with parameters of type LoggerRepository -
Uses of LoggerRepository in org.apache.log4j.spi
Classes in org.apache.log4j.spi that implement LoggerRepositoryModifier and TypeClassDescriptionfinal class
No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.Methods in org.apache.log4j.spi that return LoggerRepositoryModifier and TypeMethodDescriptionDefaultRepositorySelector.getLoggerRepository()
RepositorySelector.getLoggerRepository()
Returns aLoggerRepository
depending on the context.Methods in org.apache.log4j.spi with parameters of type LoggerRepositoryModifier and TypeMethodDescriptionvoid
Configurator.doConfigure
(InputStream inputStream, LoggerRepository repository) Interpret a resource pointed by a InputStream and set up log4j accordingly.void
Configurator.doConfigure
(URL url, LoggerRepository repository) Interpret a resource pointed by a URL and set up log4j accordingly.Constructors in org.apache.log4j.spi with parameters of type LoggerRepository -
Uses of LoggerRepository in org.apache.log4j.varia
Methods in org.apache.log4j.varia with parameters of type LoggerRepositoryModifier and TypeMethodDescriptionvoid
ReloadingPropertyConfigurator.doConfigure
(InputStream inputStream, LoggerRepository repository) void
ReloadingPropertyConfigurator.doConfigure
(URL url, LoggerRepository repository) -
Uses of LoggerRepository in org.apache.log4j.xml
Methods in org.apache.log4j.xml with parameters of type LoggerRepositoryModifier and TypeMethodDescriptionvoid
DOMConfigurator.doConfigure
(InputStream inputStream, LoggerRepository repository) Configure log4j by reading in a log4j.dtd compliant XML configuration file.void
DOMConfigurator.doConfigure
(Reader reader, LoggerRepository repository) Configure log4j by reading in a log4j.dtd compliant XML configuration file.void
DOMConfigurator.doConfigure
(String filename, LoggerRepository repository) void
DOMConfigurator.doConfigure
(URL url, LoggerRepository repository) void
DOMConfigurator.doConfigure
(Element element, LoggerRepository repository) Configure by taking in an DOM element.protected void
DOMConfigurator.doConfigure
(InputSource inputSource, LoggerRepository repository) Configure log4j by reading in a log4j.dtd compliant XML configuration file.
LogManager.getLoggerRepository()
instead.