public class LevelChangePropagator extends ContextAwareBase implements LoggerContextListener, LifeCycle
Constructor and Description |
---|
LevelChangePropagator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isResetResistant()
Some listeners should not be removed when the LoggerContext is
reset.
|
boolean |
isStarted() |
void |
onLevelChange(Logger logger,
Level level) |
void |
onReset(LoggerContext context) |
void |
onStart(LoggerContext context) |
void |
onStop(LoggerContext context) |
void |
resetJULLevels() |
void |
setResetJUL(boolean resetJUL) |
void |
start() |
void |
stop() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public void setResetJUL(boolean resetJUL)
public boolean isResetResistant()
LoggerContextListener
isResetResistant
in interface LoggerContextListener
public void onStart(LoggerContext context)
onStart
in interface LoggerContextListener
public void onReset(LoggerContext context)
onReset
in interface LoggerContextListener
public void onStop(LoggerContext context)
onStop
in interface LoggerContextListener
public void onLevelChange(Logger logger, Level level)
onLevelChange
in interface LoggerContextListener
public void resetJULLevels()
Copyright © 2010 - 2020 Adobe. All Rights Reserved