net.logstash.logback
Class JSONEventLayoutV1

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.LayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>
          extended by net.logstash.logback.JSONEventLayoutV1
All Implemented Interfaces:
ch.qos.logback.core.Layout<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

public class JSONEventLayoutV1
extends ch.qos.logback.core.LayoutBase<ch.qos.logback.classic.spi.ILoggingEvent>


Field Summary
static String ADDITIONAL_DATA_PROPERTY
           
 
Fields inherited from class ch.qos.logback.core.LayoutBase
started
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
JSONEventLayoutV1()
           
JSONEventLayoutV1(boolean locationInfo)
           
 
Method Summary
 String doLayout(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent)
           
 String getUserFields()
           
 void setUserFields(String userFields)
           
 
Methods inherited from class ch.qos.logback.core.LayoutBase
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, getPresentationHeader, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, start, stop
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn
 

Field Detail

ADDITIONAL_DATA_PROPERTY

public static String ADDITIONAL_DATA_PROPERTY
Constructor Detail

JSONEventLayoutV1

public JSONEventLayoutV1()

JSONEventLayoutV1

public JSONEventLayoutV1(boolean locationInfo)
Method Detail

doLayout

public String doLayout(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent)

getUserFields

public String getUserFields()

setUserFields

public void setUserFields(String userFields)


Copyright © 2015. All Rights Reserved.