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 booleanisResetResistant()Deprecated.Some listeners should not be removed when the LoggerContext is reset.booleanisStarted()Deprecated.voidonLevelChange(Logger logger, Level level)Deprecated.voidonReset(LoggerContext context)Deprecated.voidonStart(LoggerContext context)Deprecated.voidonStop(LoggerContext context)Deprecated.voidresetJULLevels()Deprecated.voidsetResetJUL(boolean resetJUL)Deprecated.voidstart()Deprecated.voidstop()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:LoggerContextListenerSome listeners should not be removed when the LoggerContext is reset. Such listeners are said to be reset resistant.- Specified by:
isResetResistantin interfaceLoggerContextListener- Returns:
- whether this listener is reset resistant or not.
-
onStart
public void onStart(LoggerContext context)
Deprecated.- Specified by:
onStartin interfaceLoggerContextListener
-
onReset
public void onReset(LoggerContext context)
Deprecated.- Specified by:
onResetin interfaceLoggerContextListener
-
onStop
public void onStop(LoggerContext context)
Deprecated.- Specified by:
onStopin interfaceLoggerContextListener
-
onLevelChange
public void onLevelChange(Logger logger, Level level)
Deprecated.- Specified by:
onLevelChangein interfaceLoggerContextListener
-
resetJULLevels
public void resetJULLevels()
Deprecated.
-
-