package io.dropwizard.logging.layout; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.pattern.PatternLayoutBase; import io.dropwizard.logging.DropwizardLayout; import java.util.TimeZone; /** * Factory that creates a {@link DropwizardLayout} */ public class DropwizardLayoutFactory implements LayoutFactory<ILoggingEvent> { @Override public PatternLayoutBase<ILoggingEvent> build(LoggerContext context, TimeZone timeZone) { return new DropwizardLayout(context, timeZone); } }