public class LoggerContextAwareBase extends ch.qos.logback.core.spi.ContextAwareBase implements LoggerContextAware
| Constructor and Description |
|---|
LoggerContextAwareBase() |
| Modifier and Type | Method and Description |
|---|---|
LoggerContext |
getLoggerContext()
Return the
LoggerContext this component is attached to. |
void |
setContext(ch.qos.logback.core.Context context) |
void |
setLoggerContext(LoggerContext context)
Set the owning context.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManagerpublic void setLoggerContext(LoggerContext context)
setLoggerContext in interface LoggerContextAwarecontext - The context where this component is attached.public void setContext(ch.qos.logback.core.Context context)
setContext in interface ch.qos.logback.core.spi.ContextAwaresetContext in class ch.qos.logback.core.spi.ContextAwareBasepublic LoggerContext getLoggerContext()
LoggerContext this component is attached to.