Package org.apache.log4j.spi
Interface Configurator
-
- All Known Implementing Classes:
DOMConfigurator
,PropertyConfigurator
@Deprecated(since="2022-01-27") public interface Configurator
Deprecated.Apache Log4j 1 has reached end of life in 2015 and is no longer supported.Implemented by classes capable of configuring log4j using a URL.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
doConfigure(java.net.URL url, LoggerRepository repository)
Deprecated.Interpret a resource pointed by a URL and set up log4j accordingly.
-
-
-
Field Detail
-
INHERITED
static final java.lang.String INHERITED
Deprecated.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
Deprecated.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)
Deprecated.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.
-
-