public class LogstashAccessLayout
extends ch.qos.logback.core.LayoutBase<ch.qos.logback.access.spi.IAccessEvent>
Constructor and Description |
---|
LogstashAccessLayout() |
Modifier and Type | Method and Description |
---|---|
String |
doLayout(ch.qos.logback.access.spi.IAccessEvent event) |
LogstashAccessFieldNames |
getFieldNames() |
JsonFactoryDecorator |
getJsonFactoryDecorator() |
JsonGeneratorDecorator |
getJsonGeneratorDecorator() |
String |
getTimeZone() |
void |
setFieldNames(LogstashAccessFieldNames fieldNames) |
void |
setJsonFactoryDecorator(JsonFactoryDecorator jsonFactoryDecorator) |
void |
setJsonGeneratorDecorator(JsonGeneratorDecorator jsonGeneratorDecorator) |
void |
setTimeZone(String timeZoneId) |
void |
start() |
void |
stop() |
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, getPresentationHeader, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManager
public String doLayout(ch.qos.logback.access.spi.IAccessEvent event)
public void start()
start
in interface ch.qos.logback.core.spi.LifeCycle
start
in class ch.qos.logback.core.LayoutBase<ch.qos.logback.access.spi.IAccessEvent>
public void stop()
stop
in interface ch.qos.logback.core.spi.LifeCycle
stop
in class ch.qos.logback.core.LayoutBase<ch.qos.logback.access.spi.IAccessEvent>
public LogstashAccessFieldNames getFieldNames()
public void setFieldNames(LogstashAccessFieldNames fieldNames)
public JsonFactoryDecorator getJsonFactoryDecorator()
public void setJsonFactoryDecorator(JsonFactoryDecorator jsonFactoryDecorator)
public JsonGeneratorDecorator getJsonGeneratorDecorator()
public void setJsonGeneratorDecorator(JsonGeneratorDecorator jsonGeneratorDecorator)
public String getTimeZone()
public void setTimeZone(String timeZoneId)
Copyright © 2015. All Rights Reserved.