E - represents the type of the eventpublic abstract class AbstractJsonLayout<E>
extends ch.qos.logback.core.LayoutBase<E>
IAccessEvent and ILoggingEvent
events.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJsonLayout(JsonFormatter jsonFormatter) |
| Modifier and Type | Method and Description |
|---|---|
String |
doLayout(E event) |
protected abstract Map<String,Object> |
toJsonMap(E event)
Converts the provided logging event to a generic
Map |
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, getPresentationHeader, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, start, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManagerCopyright © 2020. All rights reserved.