io.dropwizard.logging.layout.DropwizardLayoutFactory Maven / Gradle / Ivy
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 {
@Override
public PatternLayoutBase build(LoggerContext context, TimeZone timeZone) {
return new DropwizardLayout(context, timeZone);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy