Package ch.qos.logback.core.html
Class HTMLLayoutBase<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.LayoutBase<E>
ch.qos.logback.core.html.HTMLLayoutBase<E>
- All Implemented Interfaces:
Layout<E>
,ContextAware
,LifeCycle
- Direct Known Subclasses:
HTMLLayout
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the content type output by this layout, i.e "text/html".Deprecated.Deprecated.Returns a map where the default converter map is merged with the map contained in the context.Deprecated.Returns the appropriate HTML footers.Deprecated.Returns appropriate HTML headers.Deprecated.Returns the value of the ConversionPattern option.Deprecated.Return the footer of the logging event formatting.Deprecated.Return the header of the logging event formatting.getTitle()
Deprecated.Returns the current value of the Title option.void
setCssBuilder
(CssBuilder cssBuilder) Deprecated.void
setPattern
(String conversionPattern) Deprecated.Set the ConversionPattern option.void
Deprecated.The Title option takes a String value.void
start()
Deprecated.Parses the pattern and creates the Converter linked list.Methods inherited from class ch.qos.logback.core.LayoutBase
getContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stop
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getStatusManager
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
HTMLLayoutBase
public HTMLLayoutBase()Deprecated.
-
-
Method Details
-
setPattern
Deprecated.Set the ConversionPattern option. This is the string which controls formatting and consists of a mix of literal content and conversion specifiers. -
getPattern
Deprecated.Returns the value of the ConversionPattern option. -
getCssBuilder
Deprecated. -
setCssBuilder
Deprecated. -
start
public void start()Deprecated.Parses the pattern and creates the Converter linked list.- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classLayoutBase<E>
-
getEffectiveConverterMap
Deprecated.Returns a map where the default converter map is merged with the map contained in the context. -
setTitle
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
Deprecated.Returns the current value of the Title option. -
getContentType
Deprecated.Returns the content type output by this layout, i.e "text/html".- Specified by:
getContentType
in interfaceLayout<E>
- Overrides:
getContentType
in classLayoutBase<E>
- Returns:
-
getFileHeader
Deprecated.Returns appropriate HTML headers.- Specified by:
getFileHeader
in interfaceLayout<E>
- Overrides:
getFileHeader
in classLayoutBase<E>
- Returns:
- The header.
-
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 interfaceLayout<E>
- Overrides:
getPresentationHeader
in classLayoutBase<E>
- Returns:
- The header.
-