Package org.apache.log4j.spi
Interface Configurator
-
- All Known Implementing Classes:
DOMConfigurator
,PropertyConfigurator
public interface Configurator
Implemented by classes capable of configuring log4j using a URL.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
doConfigure(java.net.URL url, LoggerRepository repository)
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 behaviour. The current value of this string constant is inherited.NULL
is a synonym.- See Also:
- Constant Field Values
-
NULL
static final java.lang.String NULL
Special level signifying inherited behaviour, same asINHERITED
. The current value of this string constant is null.- See Also:
- Constant Field Values
-
-
Method Detail
-
doConfigure
void doConfigure(java.net.URL url, LoggerRepository repository)
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 parserepository
- The hierarchy to operation upon.
-
-