Uses of Interface
org.apache.log4j.spi.LoggerRepository
-
Packages that use LoggerRepository Package Description org.apache.log4j Log4j 1.x compatibility layer.org.apache.log4j.helpers Log4j 1.x compatibility layer.org.apache.log4j.spi Log4j 1.x compatibility layer.org.apache.log4j.varia org.apache.log4j.xml Log4j 1.x compatibility layer. -
-
Uses of LoggerRepository in org.apache.log4j
Classes in org.apache.log4j that implement LoggerRepository Modifier and Type Class Description class
Hierarchy
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.Fields in org.apache.log4j declared as LoggerRepository Modifier and Type Field Description protected LoggerRepository
Category. repository
Categories need to know what Hierarchy they are in.Methods in org.apache.log4j that return LoggerRepository Modifier and Type Method Description static LoggerRepository
Category. getDefaultHierarchy()
Deprecated.Please useLogManager.getLoggerRepository()
instead.LoggerRepository
Category. getHierarchy()
Deprecated.Please useCategory.getLoggerRepository()
instead.LoggerRepository
Category. getLoggerRepository()
Gets the theLoggerRepository
where thisCategory
is attached.static LoggerRepository
LogManager. getLoggerRepository()
Methods in org.apache.log4j with parameters of type LoggerRepository Modifier and Type Method Description void
PropertyConfigurator. doConfigure(InputStream inputStream, LoggerRepository loggerRepository)
Reads configuration options from an InputStream.void
PropertyConfigurator. doConfigure(String fileName, LoggerRepository loggerRepository)
Reads configuration options from configuration file.void
PropertyConfigurator. doConfigure(URL url, LoggerRepository loggerRepository)
Read configuration options from urlconfigURL
.void
PropertyConfigurator. doConfigure(Properties properties, LoggerRepository loggerRepository)
Reads configuration options fromproperties
.protected void
PropertyConfigurator. parseCatsAndRenderers(Properties properties, LoggerRepository loggerRepository)
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 LoggerRepository Modifier and Type Method Description static 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 LoggerRepository Modifier and Type Class Description class
NOPLoggerRepository
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 LoggerRepository Modifier and Type Method Description LoggerRepository
DefaultRepositorySelector. getLoggerRepository()
LoggerRepository
RepositorySelector. getLoggerRepository()
Gets aLoggerRepository
depending on the context.Methods in org.apache.log4j.spi with parameters of type LoggerRepository Modifier and Type Method Description void
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 Constructor Description DefaultRepositorySelector(LoggerRepository repository)
-
Uses of LoggerRepository in org.apache.log4j.varia
Methods in org.apache.log4j.varia with parameters of type LoggerRepository Modifier and Type Method Description void
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 LoggerRepository Modifier and Type Method Description void
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)
-