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 TypeMethodDescriptionconfigure(LoggerContext loggerContext) Implementations of this method may expect that theLoggerContextis set withContextAware.setContext(ch.qos.logback.core.Context)before this method is invoked.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: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
-