Package org.apache.log4j.spi
Interface Configurator
-
- All Known Implementing Classes:
PropertyConfigurator,ReloadingPropertyConfigurator
public interface ConfiguratorLog4j 1.x Configurator interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoConfigure(java.io.InputStream inputStream, LoggerRepository loggerRepository)Interpret a resource pointed by a InputStream and set up log4j accordingly.voiddoConfigure(java.net.URL url, LoggerRepository loggerRepository)Interpret a resource pointed by a URL and set up log4j accordingly.
-
-
-
Field Detail
-
INHERITED
static final java.lang.String INHERITED
Special level value signifying inherited behavior. The current value of this string constant is inherited.NULLis a synonym.- See Also:
- Constant Field Values
-
NULL
static final java.lang.String NULL
Special level signifying inherited behavior, same asINHERITED. The current value of this string constant is null.- See Also:
- Constant Field Values
-
-
Method Detail
-
doConfigure
void doConfigure(java.io.InputStream inputStream, LoggerRepository loggerRepository)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
void doConfigure(java.net.URL url, LoggerRepository loggerRepository)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.
-
-