Class DefaultConfigurator
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
org.apache.sling.commons.log.logback.spi.DefaultConfigurator
- All Implemented Interfaces:
ch.qos.logback.classic.spi.Configurator,ch.qos.logback.core.spi.ContextAware
public class DefaultConfigurator
extends ch.qos.logback.core.spi.ContextAwareBase
implements ch.qos.logback.classic.spi.Configurator
Implementation to block the original logback configuration handling
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.qos.logback.classic.spi.Configurator
ch.qos.logback.classic.spi.Configurator.ExecutionStatus -
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
DefaultConfigurator
public DefaultConfigurator()
-
-
Method Details
-
configure
@NotNull public @NotNull ch.qos.logback.classic.spi.Configurator.ExecutionStatus configure(@NotNull @NotNull ch.qos.logback.classic.LoggerContext context) Callback to configure the logger context- Specified by:
configurein interfacech.qos.logback.classic.spi.Configurator- Parameters:
context- the logger context to configure
-
getConfigResource
Return the URL for the configuration resource- Returns:
- the URL of the configuration resource
-