public class JSONLayout extends JSONLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
converterMap |
head, pattern| Constructor and Description |
|---|
JSONLayout()
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeConverterName(ch.qos.logback.core.pattern.Converter c) |
String |
doLayout(ch.qos.logback.classic.spi.ILoggingEvent event) |
protected Map<String,String> |
getDefaultConverterMap() |
ch.qos.logback.core.html.IThrowableRenderer |
getThrowableRenderer() |
void |
setThrowableRenderer(ch.qos.logback.core.html.IThrowableRenderer<ch.qos.logback.classic.spi.ILoggingEvent> throwableRenderer) |
void |
start() |
getContentType, getEffectiveConverterMap, getFileFooter, getFileHeader, getPattern, getPresentationFooter, getPresentationHeader, setPatterngetContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerpublic JSONLayout()
public void start()
start in interface ch.qos.logback.core.spi.LifeCyclestart in class JSONLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>protected Map<String,String> getDefaultConverterMap()
getDefaultConverterMap in class JSONLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>public String doLayout(ch.qos.logback.classic.spi.ILoggingEvent event)
public ch.qos.logback.core.html.IThrowableRenderer getThrowableRenderer()
public void setThrowableRenderer(ch.qos.logback.core.html.IThrowableRenderer<ch.qos.logback.classic.spi.ILoggingEvent> throwableRenderer)
protected String computeConverterName(ch.qos.logback.core.pattern.Converter c)
computeConverterName in class JSONLayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>Copyright © 2016. All rights reserved.