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
counter, cssBuilder, head, pattern, titlestartedcontext| Constructor and Description |
|---|
HTMLLayout()
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeConverterName(Converter<ILoggingEvent> c) |
String |
doLayout(ILoggingEvent event) |
protected Map<String,String> |
getDefaultConverterMap() |
IThrowableRenderer<ILoggingEvent> |
getThrowableRenderer() |
void |
setThrowableRenderer(IThrowableRenderer<ILoggingEvent> throwableRenderer) |
void |
start() |
getContentType, getCssBuilder, getEffectiveConverterMap, getFileFooter, getFileHeader, getPattern, getPresentationFooter, getPresentationHeader, getTitle, setCssBuilder, setPattern, setTitle, startNewTableIfLimitReachedgetContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerpublic HTMLLayout()
public void start()
start in interface LifeCyclestart in class HTMLLayoutBase<ILoggingEvent>protected Map<String,String> getDefaultConverterMap()
getDefaultConverterMap in class HTMLLayoutBase<ILoggingEvent>public String doLayout(ILoggingEvent event)
public IThrowableRenderer<ILoggingEvent> getThrowableRenderer()
public void setThrowableRenderer(IThrowableRenderer<ILoggingEvent> throwableRenderer)
protected String computeConverterName(Converter<ILoggingEvent> c)
computeConverterName in class HTMLLayoutBase<ILoggingEvent>Copyright © 2005–2018 QOS.ch. All rights reserved.