Interface LayoutFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>

Type Parameters:
E - The type of log event
All Known Implementing Classes:
DropwizardLayoutFactory

public interface LayoutFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
An interface for building Logback PatternLayoutBase layouts
  • Method Summary

    Modifier and Type
    Method
    Description
    ch.qos.logback.core.pattern.PatternLayoutBase<E>
    build(ch.qos.logback.classic.LoggerContext context, TimeZone timeZone)
    Creates a PatternLayoutBase of type E
  • Method Details

    • build

      ch.qos.logback.core.pattern.PatternLayoutBase<E> build(ch.qos.logback.classic.LoggerContext context, TimeZone timeZone)
      Creates a PatternLayoutBase of type E
      Parameters:
      context - the Logback context
      timeZone - the TimeZone
      Returns:
      a new PatternLayoutBase