Package org.apache.log4j.spi
Interface Configurator
-
- All Known Implementing Classes:
DOMConfigurator,PropertyConfigurator
public interface ConfiguratorImplemented 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 voiddoConfigure(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.NULLis 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 thehierarchyparameter.- Parameters:
url- The URL to parserepository- The hierarchy to operation upon.
-
-