Package ch.qos.logback.classic.jul
Class LevelChangePropagator
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.jul.LevelChangePropagator
-
- All Implemented Interfaces:
LoggerContextListener
,ContextAware
,LifeCycle
@Deprecated(since="2022-01-27") public class LevelChangePropagator extends ContextAwareBase implements LoggerContextListener, LifeCycle
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Propagate level changes made to a logback logger into the equivalent logger in j.u.l.
-
-
Constructor Summary
Constructors Constructor Description LevelChangePropagator()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isResetResistant()
Deprecated.Some listeners should not be removed when the LoggerContext is reset.boolean
isStarted()
Deprecated.void
onLevelChange(Logger logger, Level level)
Deprecated.void
onReset(LoggerContext context)
Deprecated.void
onStart(LoggerContext context)
Deprecated.void
onStop(LoggerContext context)
Deprecated.void
resetJULLevels()
Deprecated.void
setResetJUL(boolean resetJUL)
Deprecated.void
start()
Deprecated.void
stop()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
setResetJUL
public void setResetJUL(boolean resetJUL)
Deprecated.
-
isResetResistant
public boolean isResetResistant()
Deprecated.Description copied from interface:LoggerContextListener
Some listeners should not be removed when the LoggerContext is reset. Such listeners are said to be reset resistant.- Specified by:
isResetResistant
in interfaceLoggerContextListener
- Returns:
- whether this listener is reset resistant or not.
-
onStart
public void onStart(LoggerContext context)
Deprecated.- Specified by:
onStart
in interfaceLoggerContextListener
-
onReset
public void onReset(LoggerContext context)
Deprecated.- Specified by:
onReset
in interfaceLoggerContextListener
-
onStop
public void onStop(LoggerContext context)
Deprecated.- Specified by:
onStop
in interfaceLoggerContextListener
-
onLevelChange
public void onLevelChange(Logger logger, Level level)
Deprecated.- Specified by:
onLevelChange
in interfaceLoggerContextListener
-
resetJULLevels
public void resetJULLevels()
Deprecated.
-
-