public class HTMLLayout extends HTMLLayoutBase<IAccessEvent>
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#AccessHTMLLayout
counter, cssBuilder, head, pattern, titlestartedcontext| Constructor and Description |
|---|
HTMLLayout()
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
|
| Modifier and Type | Method and Description |
|---|---|
String |
doLayout(IAccessEvent event)
Transform an event (of type Object) and return it as a String after
appropriate formatting.
|
protected Map<String,String> |
getDefaultConverterMap() |
computeConverterName, getContentType, getCssBuilder, getEffectiveConverterMap, getFileFooter, getFileHeader, getPattern, getPresentationFooter, getPresentationHeader, getTitle, setCssBuilder, setPattern, setTitle, start, startNewTableIfLimitReachedgetContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerpublic HTMLLayout()
protected Map<String,String> getDefaultConverterMap()
getDefaultConverterMap in class HTMLLayoutBase<IAccessEvent>public String doLayout(IAccessEvent 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 formatCopyright © 2005–2022 QOS.ch. All rights reserved.