public abstract class JSONLayoutBase<E>
extends ch.qos.logback.core.LayoutBase<E>
| Modifier and Type | Field and Description |
|---|---|
protected ch.qos.logback.core.pattern.Converter<E> |
head |
protected String |
pattern |
| Constructor and Description |
|---|
JSONLayoutBase() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeConverterName(ch.qos.logback.core.pattern.Converter c) |
String |
getContentType() |
protected abstract Map<String,String> |
getDefaultConverterMap() |
Map<String,String> |
getEffectiveConverterMap()
Returns a map where the default converter map is merged with the map
contained in the context.
|
String |
getFileFooter() |
String |
getFileHeader() |
String |
getPattern()
Returns the value of the ConversionPattern option.
|
String |
getPresentationFooter() |
String |
getPresentationHeader() |
void |
setPattern(String conversionPattern)
Set the ConversionPattern option.
|
void |
start() |
getContext, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerprotected String pattern
protected ch.qos.logback.core.pattern.Converter<E> head
public void setPattern(String conversionPattern)
conversionPattern - - The conversion patternpublic String getPattern()
public void start()
start in interface ch.qos.logback.core.spi.LifeCyclestart in class ch.qos.logback.core.LayoutBase<E>public Map<String,String> getEffectiveConverterMap()
public String getContentType()
public String getFileHeader()
public String getPresentationHeader()
public String getPresentationFooter()
public String getFileFooter()
protected String computeConverterName(ch.qos.logback.core.pattern.Converter c)
Copyright © 2016. All rights reserved.