|
Log4j 1.3alpha-1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.config.ConfiguratorBase
Code useful to most configurators.
Field Summary | |
static java.lang.String |
DEBUG_KEY
Defining this value makes log4j print log4j-internal debug statements. |
Fields inherited from interface org.apache.log4j.spi.Configurator |
INHERITED, NULL |
Constructor Summary | |
ConfiguratorBase()
|
Method Summary | |
protected void |
addError(ErrorItem errorItem)
|
protected void |
attachListAppender(LoggerRepository repository)
Attach a list appender which will be used to collect the logging events generated by log4j components, including this JoranConfigurator. |
static void |
attachTemporaryConsoleAppender(LoggerRepository repository)
|
protected void |
detachListAppender(LoggerRepository repository)
Output the previously collected events using the current log4j configuration. |
static void |
detachTemporaryConsoleAppender(LoggerRepository repository,
java.util.List errorList)
|
void |
dumpErrors()
Dump any errors on System.out. |
abstract java.util.List |
getErrorList()
|
protected Logger |
getLogger(LoggerRepository repository)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.log4j.spi.Configurator |
doConfigure |
Field Detail |
public static final java.lang.String DEBUG_KEY
The value of this string is log4j.debug.
Note that the search for all option names is case sensitive.
Constructor Detail |
public ConfiguratorBase()
Method Detail |
protected Logger getLogger(LoggerRepository repository)
protected void addError(ErrorItem errorItem)
public abstract java.util.List getErrorList()
protected void attachListAppender(LoggerRepository repository)
detachListAppender(org.apache.log4j.spi.LoggerRepository)
method
is called.
repository
- protected void detachListAppender(LoggerRepository repository)
attachListAppender(org.apache.log4j.spi.LoggerRepository)
.
repository
- public static void attachTemporaryConsoleAppender(LoggerRepository repository)
public static void detachTemporaryConsoleAppender(LoggerRepository repository, java.util.List errorList)
public void dumpErrors()
|
Log4j 1.3alpha-1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |