public class LogstashLayout
extends ch.qos.logback.core.LayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
Constructor and Description |
---|
LogstashLayout() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
doLayout(ch.qos.logback.classic.spi.ILoggingEvent event) |
java.lang.String |
getCustomFields() |
LogstashFieldNames |
getFieldNames() |
boolean |
isIncludeCallerInfo() |
boolean |
isIncludeContext() |
boolean |
isIncludeMdc() |
void |
setCustomFields(java.lang.String customFields) |
void |
setFieldNames(LogstashFieldNames fieldNames) |
void |
setIncludeCallerInfo(boolean includeCallerInfo) |
void |
setIncludeContext(boolean includeContext) |
void |
setIncludeMdc(boolean includeMdc) |
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, getPresentationHeader, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, start, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManager
public java.lang.String doLayout(ch.qos.logback.classic.spi.ILoggingEvent event)
public void setCustomFields(java.lang.String customFields)
public java.lang.String getCustomFields()
public boolean isIncludeCallerInfo()
public void setIncludeCallerInfo(boolean includeCallerInfo)
public LogstashFieldNames getFieldNames()
public void setFieldNames(LogstashFieldNames fieldNames)
public boolean isIncludeMdc()
public void setIncludeMdc(boolean includeMdc)
public boolean isIncludeContext()
public void setIncludeContext(boolean includeContext)
Copyright © 2014. All Rights Reserved.