Uses of Interface
org.apache.log4j.spi.LoggerRepository
Packages that use LoggerRepository
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
-
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 LoggerRepositoryModifier and TypeFieldDescriptionprotected LoggerRepository
Category.repository
Categories need to know what Hierarchy they are in.private LoggerRepository
PropertyConfigurator.repository
Methods in org.apache.log4j that return LoggerRepositoryModifier and TypeMethodDescriptionstatic LoggerRepository
Category.getDefaultHierarchy()
Deprecated.Category.getHierarchy()
Deprecated.Please useCategory.getLoggerRepository()
instead.Category.getLoggerRepository()
Gets the theLoggerRepository
where thisCategory
is attached.static LoggerRepository
LogManager.getLoggerRepository()
Methods in org.apache.log4j with parameters of type LoggerRepositoryModifier and TypeMethodDescription(package private) void
PropertyConfigurator.configureRootCategory
(Properties properties, LoggerRepository loggerRepository) void
PropertyConfigurator.doConfigure
(InputStream inputStream, LoggerRepository loggerRepository) Reads configuration options from an InputStream.(package private) Configuration
PropertyConfigurator.doConfigure
(InputStream inputStream, LoggerRepository loggerRepository, ClassLoader classLoader) void
PropertyConfigurator.doConfigure
(String fileName, LoggerRepository loggerRepository) Reads configuration options from configuration file.(package private) Configuration
PropertyConfigurator.doConfigure
(String fileName, LoggerRepository loggerRepository, ClassLoader classLoader) Reads configuration options from configuration file.void
PropertyConfigurator.doConfigure
(URL url, LoggerRepository loggerRepository) Read configuration options from urlconfigURL
.(package private) Configuration
PropertyConfigurator.doConfigure
(URL url, LoggerRepository loggerRepository, ClassLoader classLoader) void
PropertyConfigurator.doConfigure
(Properties properties, LoggerRepository loggerRepository) Reads configuration options fromproperties
.(package private) Configuration
PropertyConfigurator.doConfigure
(Properties properties, LoggerRepository loggerRepository, ClassLoader classLoader) Reads configuration options fromproperties
.protected void
PropertyConfigurator.parseCatsAndRenderers
(Properties properties, LoggerRepository loggerRepository) Parse non-root elements, such non-root categories and renderers.private void
PropertyConfigurator.parseErrorHandler
(ErrorHandler errorHandler, String errorHandlerPrefix, Properties props, LoggerRepository loggerRepository) (package private) final void
Category.setHierarchy
(LoggerRepository repository) Only the Hiearchy class can set the hiearchy of a category. -
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.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.Fields in org.apache.log4j.spi declared as LoggerRepositoryModifier and TypeFieldDescription(package private) final LoggerRepository
DefaultRepositorySelector.repository
Methods in org.apache.log4j.spi that return LoggerRepositoryModifier and TypeMethodDescriptionDefaultRepositorySelector.getLoggerRepository()
RepositorySelector.getLoggerRepository()
Gets aLoggerRepository
depending on the context.Methods in org.apache.log4j.spi with parameters of type LoggerRepositoryModifier and TypeMethodDescriptionvoid
Configurator.doConfigure
(InputStream inputStream, LoggerRepository loggerRepository) Interpret a resource pointed by a InputStream and set up log4j accordingly.void
Configurator.doConfigure
(URL url, LoggerRepository loggerRepository) 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) void
DOMConfigurator.doConfigure
(Reader reader, LoggerRepository repository) void
DOMConfigurator.doConfigure
(String fileName, LoggerRepository repository) void
DOMConfigurator.doConfigure
(URL url, LoggerRepository repository) void
DOMConfigurator.doConfigure
(Element element, LoggerRepository repository)
LogManager.getLoggerRepository()
instead.