public class HTMLLayout extends HTMLLayoutBase<ILoggingEvent>
The content of the table
columns are specified using a conversion pattern. See
PatternLayout for 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 and Description |
|---|
HTMLLayout()
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
doLayout(ILoggingEvent event)
Transform an event (of type Object) and return it as a String after
appropriate formatting.
|
IThrowableRenderer |
getThrowableRenderer() |
void |
setThrowableRenderer(IThrowableRenderer<ILoggingEvent> throwableRenderer) |
void |
start()
Parses the pattern and creates the Converter linked list.
|
getContentType, getCssBuilder, getEffectiveConverterMap, getFileFooter, getFileHeader, getPattern, getPresentationFooter, getPresentationHeader, getTitle, setCssBuilder, setPattern, setTitlegetContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getStatusManagerpublic HTMLLayout()
public void start()
HTMLLayoutBasestart in interface LifeCyclestart in class HTMLLayoutBase<ILoggingEvent>public java.lang.String doLayout(ILoggingEvent event)
LayoutTaking in an object and returning a String is the least sophisticated way of formatting events. However, it is remarkably CPU-effective.
event - The event to formatpublic IThrowableRenderer getThrowableRenderer()
public void setThrowableRenderer(IThrowableRenderer<ILoggingEvent> throwableRenderer)
Copyright © 2010 - 2023 Adobe. All Rights Reserved