Class DropwizardLayoutFactory

java.lang.Object
io.dropwizard.logging.common.layout.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 Details

    • DropwizardLayoutFactory

      public DropwizardLayoutFactory()
  • Method Details

    • 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