Class LogbackConfigurationSourceGenerator

All Implemented Interfaces:
AOTCodeGenerator

public class LogbackConfigurationSourceGenerator extends AbstractSingleClassFileGenerator
A source generator responsible for converting a logback.xml configuration into Java configuration.

The generated configurator builds the same logger context as Joran. If the configuration uses something which cannot be converted faithfully, nothing is generated, a diagnostic is reported, and Logback configures itself from the XML file at runtime.