Package org.apache.log4j.spi
Interface Configurator
- All Known Implementing Classes:
PropertyConfigurator,ReloadingPropertyConfigurator
public interface Configurator
Log4j 1.x Configurator interface.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddoConfigure(InputStream inputStream, LoggerRepository loggerRepository) Interpret a resource pointed by a InputStream and set up log4j accordingly.voiddoConfigure(URL url, LoggerRepository loggerRepository) Interpret a resource pointed by a URL and set up log4j accordingly.
-
Field Details
-
Method Details
-
doConfigure
Interpret a resource pointed by a InputStream and set up log4j accordingly. The configuration is done relative to thehierarchyparameter.- Parameters:
inputStream- The InputStream to parseloggerRepository- The hierarchy to operation upon.- Since:
- 1.2.17
-
doConfigure
Interpret a resource pointed by a URL and set up log4j accordingly. The configuration is done relative to thehierarchyparameter.- Parameters:
url- The URL to parseloggerRepository- The hierarchy to operation upon.
-