Class HTMLLayoutBase<E>

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

@Deprecated(since="2022-01-27") public abstract class HTMLLayoutBase<E> extends LayoutBase<E>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
This class is a base class for HTMLLayout classes part of other logback modules such as logback-classic and logback-access.
  • Constructor Details

    • HTMLLayoutBase

      public HTMLLayoutBase()
      Deprecated.
  • Method Details

    • setPattern

      public void setPattern(String conversionPattern)
      Deprecated.
      Set the ConversionPattern option. This is the string which controls formatting and consists of a mix of literal content and conversion specifiers.
    • getPattern

      public String getPattern()
      Deprecated.
      Returns the value of the ConversionPattern option.
    • getCssBuilder

      public CssBuilder getCssBuilder()
      Deprecated.
    • setCssBuilder

      public void setCssBuilder(CssBuilder cssBuilder)
      Deprecated.
    • start

      public void start()
      Deprecated.
      Parses the pattern and creates the Converter linked list.
      Specified by:
      start in interface LifeCycle
      Overrides:
      start in class LayoutBase<E>
    • getEffectiveConverterMap

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

      public void setTitle(String title)
      Deprecated.
      The Title option takes a String value. This option sets the document title of the generated HTML document.

      Defaults to 'Logback Log Messages'.

    • getTitle

      public String getTitle()
      Deprecated.
      Returns the current value of the Title option.
    • getContentType

      public String getContentType()
      Deprecated.
      Returns the content type output by this layout, i.e "text/html".
      Specified by:
      getContentType in interface Layout<E>
      Overrides:
      getContentType in class LayoutBase<E>
      Returns:
    • getFileHeader

      public String getFileHeader()
      Deprecated.
      Returns appropriate HTML headers.
      Specified by:
      getFileHeader in interface Layout<E>
      Overrides:
      getFileHeader in class LayoutBase<E>
      Returns:
      The header.
    • 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.
    • getPresentationFooter

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

      public String getFileFooter()
      Deprecated.
      Returns the appropriate HTML footers.
      Specified by:
      getFileFooter in interface Layout<E>
      Overrides:
      getFileFooter in class LayoutBase<E>
      Returns:
      The footer.