net.logstash.logback
Class EventFormatter
java.lang.Object
net.logstash.logback.EventFormatter
public class EventFormatter
- extends Object
|
Constructor Summary |
EventFormatter(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTC
public static final TimeZone UTC
ISO8601_DATETIME_TIME_ZONE_FORMAT_WITH_MILLIS
public static final org.apache.commons.lang.time.FastDateFormat ISO8601_DATETIME_TIME_ZONE_FORMAT_WITH_MILLIS
EventFormatter
public EventFormatter(ch.qos.logback.classic.spi.ILoggingEvent loggingEvent)
dateFormat
public static String dateFormat(long timestamp)
getMessage
public String getMessage()
getTimeStamp
public String getTimeStamp()
getSourceHost
public String getSourceHost()
getLoggerName
public String getLoggerName()
getThreadName
public String getThreadName()
getLevel
public String getLevel()
getMDC
public Map<String,String> getMDC()
hasExceptionInfo
public boolean hasExceptionInfo()
getStackTrace
public String getStackTrace()
getExceptionClass
public String getExceptionClass()
getExceptionMessage
public String getExceptionMessage()
getFileName
public String getFileName()
getLineNumber
public String getLineNumber()
getClassName
public String getClassName()
getMethodName
public String getMethodName()
Copyright © 2015. All Rights Reserved.