Top Description Fields Constructors Methods
ch.qos.logback.classic

public Class BasicConfigurator

extends ContextAwareBase
implements Configurator
Class Inheritance
All Implemented Interfaces
ch.qos.logback.classic.spi.Configurator, ch.qos.logback.core.spi.ContextAware
Annotations
@ConfiguratorRank:-10
Imports
ch.qos.logback.classic.layout.TTLLLayout, ch.qos.logback.classic.spi.Configurator, .ConfiguratorRank, .ILoggingEvent, ch.qos.logback.core.ConsoleAppender, .Context, ch.qos.logback.core.encoder.LayoutWrappingEncoder, ch.qos.logback.core.spi.ContextAwareBase

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ü

Field Summary

Inherited from ch.qos.logback.core.spi.ContextAwareBase:
context

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Configurator.ExecutionStatus
configure(LoggerContext loggerContext)

Implements ch.qos.logback.classic.spi.Configurator.configure.

Implementations of this method may expect that the LoggerContext is set with ContextAware#setContext before this method is invoked.
Inherited from ch.qos.logback.core.spi.ContextAwareBase:
addErroraddErroraddInfoaddInfoaddStatusaddWarnaddWarngetContextgetDeclaredOrigingetStatusManagersetContext

Constructor Detail

BasicConfiguratorback to summary
public BasicConfigurator()

Method Detail

configureback to summary
public Configurator.ExecutionStatus configure(LoggerContext loggerContext)

Implements ch.qos.logback.classic.spi.Configurator.configure.

Doc from ch.qos.logback.classic.spi.Configurator.configure.

Implementations of this method may expect that the LoggerContext is set with ContextAware#setContext before this method is invoked.