Package ch.qos.logback.core.spi
Class ContextAwareImpl
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareImpl
-
- All Implemented Interfaces:
ContextAware
@Deprecated(since="2022-01-27") public class ContextAwareImpl extends Object implements ContextAware
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.A helper class that implements ContextAware methods. Use this class to implement the ContextAware interface by composition.
-
-
Constructor Summary
Constructors Constructor Description ContextAwareImpl(Context context, Object origin)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addError(String msg)
Deprecated.void
addError(String msg, Throwable ex)
Deprecated.void
addInfo(String msg)
Deprecated.void
addInfo(String msg, Throwable ex)
Deprecated.void
addStatus(Status status)
Deprecated.void
addWarn(String msg)
Deprecated.void
addWarn(String msg, Throwable ex)
Deprecated.Context
getContext()
Deprecated.StatusManager
getStatusManager()
Deprecated.void
setContext(Context context)
Deprecated.
-
-
-
Method Detail
-
setContext
public void setContext(Context context)
Deprecated.- Specified by:
setContext
in interfaceContextAware
-
getContext
public Context getContext()
Deprecated.- Specified by:
getContext
in interfaceContextAware
-
getStatusManager
public StatusManager getStatusManager()
Deprecated.
-
addStatus
public void addStatus(Status status)
Deprecated.- Specified by:
addStatus
in interfaceContextAware
-
addInfo
public void addInfo(String msg)
Deprecated.- Specified by:
addInfo
in interfaceContextAware
-
addInfo
public void addInfo(String msg, Throwable ex)
Deprecated.- Specified by:
addInfo
in interfaceContextAware
-
addWarn
public void addWarn(String msg)
Deprecated.- Specified by:
addWarn
in interfaceContextAware
-
addWarn
public void addWarn(String msg, Throwable ex)
Deprecated.- Specified by:
addWarn
in interfaceContextAware
-
addError
public void addError(String msg)
Deprecated.- Specified by:
addError
in interfaceContextAware
-
addError
public void addError(String msg, Throwable ex)
Deprecated.- Specified by:
addError
in interfaceContextAware
-
-