All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.dropwizard.logging.layout.LayoutFactory Maven / Gradle / Ivy

There is a newer version: 5.0.0-alpha.5
Show newest version
package io.dropwizard.logging.layout;

import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.core.pattern.PatternLayoutBase;
import ch.qos.logback.core.spi.DeferredProcessingAware;

import java.util.TimeZone;

/**
 * An interface for building Logback {@link PatternLayoutBase} layouts
 * @param  The type of log event
 */
public interface LayoutFactory {

    /**
     * Creates a {@link PatternLayoutBase} of type E
     * @param context the Logback context
     * @param timeZone the TimeZone
     * @return a new {@link PatternLayoutBase}
     */
    PatternLayoutBase build(LoggerContext context, TimeZone timeZone);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy