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 TypeMethodDescriptionboolean
Deprecated.Some listeners should not be removed when the LoggerContext is reset.boolean
Deprecated.void
onLevelChange
(Logger logger, Level level) Deprecated.void
onReset
(LoggerContext context) Deprecated.void
onStart
(LoggerContext context) Deprecated.void
onStop
(LoggerContext context) Deprecated.void
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
-
Constructor Details
-
LevelChangePropagator
public LevelChangePropagator()Deprecated.
-
-
Method Details
-
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
Deprecated.- Specified by:
onStart
in interfaceLoggerContextListener
-
onReset
Deprecated.- Specified by:
onReset
in interfaceLoggerContextListener
-
onStop
Deprecated.- Specified by:
onStop
in interfaceLoggerContextListener
-
onLevelChange
Deprecated.- Specified by:
onLevelChange
in interfaceLoggerContextListener
-
resetJULLevels
public void resetJULLevels()Deprecated. -
start
public void start()Deprecated. -
stop
public void stop()Deprecated. -
isStarted
public boolean isStarted()Deprecated.
-