Package ch.qos.logback.classic
Class BasicConfigurator
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.classic.BasicConfigurator
- All Implemented Interfaces:
Configurator,ContextAware
BasicConfigurator configures logback-classic by attaching a
ConsoleAppender to the root logger. The console appender's layout is
set to a TTLLLayout.- Author:
- Ceki Gülcü
-
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 -
Method Summary
Modifier and TypeMethodDescriptionThe context will also be set before this method is called viaContextAware.setContext(ch.qos.logback.core.Context).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
-
BasicConfigurator
public BasicConfigurator()
-
-
Method Details
-
configure
Description copied from interface:ConfiguratorThe context will also be set before this method is called viaContextAware.setContext(ch.qos.logback.core.Context).- Specified by:
configurein interfaceConfigurator
-