- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.util.DefaultJoranConfigurator
-
- All Implemented Interfaces:
Configurator,ContextAware
public class DefaultJoranConfigurator extends ContextAwareBase implements Configurator
- Since:
- 1.3.0-beta1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ch.qos.logback.classic.spi.Configurator
Configurator.ExecutionStatus
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description DefaultJoranConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Configurator.ExecutionStatusconfigure(LoggerContext context)Implementations of this method may expect that theLoggerContextis set withContextAware.setContext(ch.qos.logback.core.Context)before this method is invoked.voidconfigureByResource(URL url)URLfindURLOfDefaultConfigurationFile(boolean updateStatus)Deprecated.with no replacement-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Constructor Detail
-
DefaultJoranConfigurator
public DefaultJoranConfigurator()
-
-
Method Detail
-
configure
public Configurator.ExecutionStatus configure(LoggerContext context)
Description copied from interface:ConfiguratorImplementations of this method may expect that theLoggerContextis set withContextAware.setContext(ch.qos.logback.core.Context)before this method is invoked.- Specified by:
configurein interfaceConfigurator
-
configureByResource
public void configureByResource(URL url) throws JoranException
- Throws:
JoranException
-
findURLOfDefaultConfigurationFile
public URL findURLOfDefaultConfigurationFile(boolean updateStatus)
Deprecated.with no replacementPerform multi-search for configuration file- Parameters:
updateStatus-- Returns:
-
-