public interface Configurator
Modifier and Type | Field and Description |
---|---|
static String |
INHERITED
Special level value signifying inherited behavior.
|
static String |
NULL
Special level signifying inherited behavior, same as
INHERITED . |
Modifier and Type | Method and Description |
---|---|
void |
doConfigure(InputStream inputStream,
LoggerRepository loggerRepository)
Interpret a resource pointed by a InputStream and set up log4j accordingly.
|
void |
doConfigure(URL url,
LoggerRepository loggerRepository)
Interpret a resource pointed by a URL and set up log4j accordingly.
|
static final String INHERITED
NULL
is a synonym.static final String NULL
INHERITED
. The current value of this string constant
is null.void doConfigure(InputStream inputStream, LoggerRepository loggerRepository)
hierarchy
parameter.inputStream
- The InputStream to parseloggerRepository
- The hierarchy to operation upon.void doConfigure(URL url, LoggerRepository loggerRepository)
hierarchy
parameter.url
- The URL to parseloggerRepository
- The hierarchy to operation upon.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.