- All Superinterfaces:
ContextAware
- All Known Implementing Classes:
BasicConfigurator
,DefaultJoranConfigurator
,SerializedModelConfigurator
Allows programmatic initialization and configuration of Logback. The
ServiceLoader is typically used to instantiate implementations and thus
implementations will need to follow the guidelines of the ServiceLoader,
in particular the no-arg constructor requirement.
The return type of
configure
was changed from 'void' to
invalid @link
{@link ExecutionStatus) in logback version 1.3.0.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfigure
(LoggerContext context) Implementations of this method may expect that theLoggerContext
is set withContextAware.setContext(ch.qos.logback.core.Context)
before this method is invoked.Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Method Details
-
configure
Implementations of this method may expect that theLoggerContext
is set withContextAware.setContext(ch.qos.logback.core.Context)
before this method is invoked.
-