Interface AppenderFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>

    • Method Detail

      • build

        ch.qos.logback.core.Appender<E> build​(ch.qos.logback.classic.LoggerContext context,
                                              String applicationName,
                                              LayoutFactory<E> layoutFactory,
                                              LevelFilterFactory<E> levelFilterFactory,
                                              AsyncAppenderFactory<E> asyncAppenderFactory)
        Given a Logback context, an application name, a layout, a levelFilterFactory, and an asyncAppenderFactory build a new appender.
        Parameters:
        context - the Logback context
        applicationName - the application name
        layoutFactory - the factory for the layout for logging
        levelFilterFactory - the factory for the level filter
        asyncAppenderFactory - the factory for the async appender
        Returns:
        a new, started Appender