Class KafkaLogbackAppenderFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>

  • All Implemented Interfaces:
    io.dropwizard.jackson.Discoverable, io.dropwizard.logging.AppenderFactory<E>

    public class KafkaLogbackAppenderFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
    extends io.dropwizard.logging.AbstractAppenderFactory<E>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String APPENDER_NAME  
      • Fields inherited from class io.dropwizard.logging.AbstractAppenderFactory

        layout, logFormat, threshold, timeZone
    • Method Summary

      Modifier and Type Method Description
      ch.qos.logback.core.Appender<E> build​(ch.qos.logback.classic.LoggerContext context, java.lang.String applicationName, io.dropwizard.logging.layout.LayoutFactory<E> layoutFactory, io.dropwizard.logging.filter.LevelFilterFactory<E> levelFilterFactory, io.dropwizard.logging.async.AsyncAppenderFactory<E> asyncAppenderFactory)  
      • Methods inherited from class io.dropwizard.logging.AbstractAppenderFactory

        buildLayout, getDiscardingThreshold, getFilterFactories, getLayout, getLogFormat, getQueueSize, getThreshold, getTimeZone, isIncludeCallerData, setDiscardingThreshold, setFilterFactories, setIncludeCallerData, setLayout, setLogFormat, setNeverBlock, setQueueSize, setThreshold, setTimeZone, setTimeZone, wrapAsync, wrapAsync
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KafkaLogbackAppenderFactory

        public KafkaLogbackAppenderFactory()
    • Method Detail

      • build

        public ch.qos.logback.core.Appender<E> build​(ch.qos.logback.classic.LoggerContext context,
                                                     java.lang.String applicationName,
                                                     io.dropwizard.logging.layout.LayoutFactory<E> layoutFactory,
                                                     io.dropwizard.logging.filter.LevelFilterFactory<E> levelFilterFactory,
                                                     io.dropwizard.logging.async.AsyncAppenderFactory<E> asyncAppenderFactory)