Class PatternLayoutBase<E>

All Implemented Interfaces:
Layout<E>, ContextAware, LifeCycle
Direct Known Subclasses:
PatternLayout

@Deprecated(since="2022-01-27") public abstract class PatternLayoutBase<E> extends LayoutBase<E>
Deprecated.
  • Constructor Details

    • PatternLayoutBase

      public PatternLayoutBase()
      Deprecated.
  • Method Details

    • getDefaultConverterMap

      public abstract Map<String,String> getDefaultConverterMap()
      Deprecated.
      Concrete implementations of this class are responsible for elaborating the mapping between pattern words and converters.
      Returns:
      A map associating pattern words to the names of converter classes
    • getEffectiveConverterMap

      public Map<String,String> getEffectiveConverterMap()
      Deprecated.
      Returns a map where the default converter map is merged with the map contained in the context.
    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface LifeCycle
      Overrides:
      start in class LayoutBase<E>
    • setPostCompileProcessor

      public void setPostCompileProcessor(PostCompileProcessor<E> postCompileProcessor)
      Deprecated.
    • getPattern

      public String getPattern()
      Deprecated.
    • setPattern

      public void setPattern(String pattern)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getInstanceConverterMap

      public Map<String,String> getInstanceConverterMap()
      Deprecated.
    • isOutputPatternAsHeader

      public boolean isOutputPatternAsHeader()
      Deprecated.
    • setOutputPatternAsHeader

      public void setOutputPatternAsHeader(boolean outputPatternAsHeader)
      Deprecated.
    • getPresentationHeader

      public String getPresentationHeader()
      Deprecated.
      Description copied from interface: Layout
      Return the header of the logging event formatting. The returned value may be null.
      Specified by:
      getPresentationHeader in interface Layout<E>
      Overrides:
      getPresentationHeader in class LayoutBase<E>
      Returns:
      The header.