Package org.apache.log4j.spi
Interface Configurator
-
public interface Configurator
Log4j 1.x Configurator interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doConfigure(InputStream inputStream, LoggerContext loggerContext)
Interpret a resource pointed by a InputStream and set up log4j accordingly.void
doConfigure(URL url, LoggerContext loggerContext)
Interpret a resource pointed by a URL and set up log4j accordingly.
-
-
-
Field Detail
-
INHERITED
static final String INHERITED
- See Also:
- Constant Field Values
-
NULL
static final String NULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
doConfigure
void doConfigure(InputStream inputStream, LoggerContext loggerContext)
Interpret a resource pointed by a InputStream and set up log4j accordingly. The configuration is done relative to thehierarchy
parameter.- Parameters:
inputStream
- The InputStream to parse- Since:
- 1.2.17
-
doConfigure
void doConfigure(URL url, LoggerContext loggerContext)
Interpret a resource pointed by a URL and set up log4j accordingly. The configuration is done relative to thehierarchy
parameter.- Parameters:
url
- The URL to parse
-
-