Class DropwizardLayoutFactory

  • All Implemented Interfaces:
    LayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent>

    public class DropwizardLayoutFactory
    extends Object
    implements LayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent>
    Factory that creates a DropwizardLayout
    • Constructor Detail

      • DropwizardLayoutFactory

        public DropwizardLayoutFactory()
    • Method Detail

      • build

        public ch.qos.logback.core.pattern.PatternLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent> build​(ch.qos.logback.classic.LoggerContext context,
                                                                                                             TimeZone timeZone)
        Description copied from interface: LayoutFactory
        Creates a PatternLayoutBase of type E
        Specified by:
        build in interface LayoutFactory<ch.qos.logback.classic.spi.ILoggingEvent>
        Parameters:
        context - the Logback context
        timeZone - the TimeZone
        Returns:
        a new PatternLayoutBase