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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Some listeners should not be removed when the LoggerContext is reset.booleanDeprecated.voidonLevelChange(Logger logger, Level level) Deprecated.voidonReset(LoggerContext context) Deprecated.voidonStart(LoggerContext context) Deprecated.voidonStop(LoggerContext context) Deprecated.voidDeprecated.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
-
Constructor Details
-
LevelChangePropagator
public LevelChangePropagator()Deprecated.
-
-
Method Details
-
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
Deprecated.- Specified by:
onStartin interfaceLoggerContextListener
-
onReset
Deprecated.- Specified by:
onResetin interfaceLoggerContextListener
-
onStop
Deprecated.- Specified by:
onStopin interfaceLoggerContextListener
-
onLevelChange
Deprecated.- Specified by:
onLevelChangein interfaceLoggerContextListener
-
resetJULLevels
public void resetJULLevels()Deprecated. -
start
public void start()Deprecated. -
stop
public void stop()Deprecated. -
isStarted
public boolean isStarted()Deprecated.
-