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

Type Parameters:
E - The type of log event
All Superinterfaces:
Discoverable

public interface DiscoverableLayoutFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware> extends Discoverable
An interface for building Logback LayoutBase layouts, which could be discovered by Jackson and specified in the logging configuration.
  • Method Summary

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

    • build

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