Package ch.qos.logback.classic.html
Class HTMLLayout
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.LayoutBase<E>
-
- ch.qos.logback.core.html.HTMLLayoutBase<ILoggingEvent>
-
- ch.qos.logback.classic.html.HTMLLayout
-
- All Implemented Interfaces:
Layout<ILoggingEvent>,ContextAware,LifeCycle
@Deprecated(since="2022-01-27") public class HTMLLayout extends HTMLLayoutBase<ILoggingEvent>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.HTMLLayout outputs events in an HTML table.The content of the table columns are specified using a conversion pattern. See
PatternLayoutfor documentation on the available patterns.For more information about this layout, please refer to the online manual at http://logback.qos.ch/manual/layouts.html#ClassicHTMLLayout
-
-
Constructor Summary
Constructors Constructor Description HTMLLayout()Deprecated.Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringdoLayout(ILoggingEvent event)Deprecated.Transform an event (of type Object) and return it as a String after appropriate formatting.IThrowableRenderergetThrowableRenderer()Deprecated.voidsetThrowableRenderer(IThrowableRenderer<ILoggingEvent> throwableRenderer)Deprecated.voidstart()Deprecated.Parses the pattern and creates the Converter linked list.-
Methods inherited from class ch.qos.logback.core.html.HTMLLayoutBase
getContentType, getCssBuilder, getEffectiveConverterMap, getFileFooter, getFileHeader, getPattern, getPresentationFooter, getPresentationHeader, getTitle, setCssBuilder, setPattern, setTitle
-
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
-
-
-
-
Method Detail
-
start
public void start()
Deprecated.Description copied from class:HTMLLayoutBaseParses the pattern and creates the Converter linked list.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classHTMLLayoutBase<ILoggingEvent>
-
doLayout
public java.lang.String doLayout(ILoggingEvent event)
Deprecated.Description copied from interface:LayoutTransform an event (of type Object) and return it as a String after appropriate formatting.Taking in an object and returning a String is the least sophisticated way of formatting events. However, it is remarkably CPU-effective.
- Parameters:
event- The event to format- Returns:
- the event formatted as a String
-
getThrowableRenderer
public IThrowableRenderer getThrowableRenderer()
Deprecated.
-
setThrowableRenderer
public void setThrowableRenderer(IThrowableRenderer<ILoggingEvent> throwableRenderer)
Deprecated.
-
-