Class LoggingEventFormattedTimestampJsonProvider
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
net.logstash.logback.composite.AbstractJsonProvider<ILoggingEvent>
net.logstash.logback.composite.AbstractFieldJsonProvider<ILoggingEvent>
net.logstash.logback.composite.AbstractFormattedTimestampJsonProvider<ILoggingEvent, LogstashFieldNames>
net.logstash.logback.composite.loggingevent.LoggingEventFormattedTimestampJsonProvider
- All Implemented Interfaces:
ContextAware, FieldNamesAware<LogstashFieldNames>, JsonProvider<ILoggingEvent>
public class LoggingEventFormattedTimestampJsonProvider
extends AbstractFormattedTimestampJsonProvider<ILoggingEvent, LogstashFieldNames>
-
Nested Class Summary
-
Field Summary
Fields inherited from class AbstractFormattedTimestampJsonProvider
DEFAULT_TIMEZONE_KEYWORD, FIELD_TIMESTAMP, UNIX_TIMESTAMP_AS_NUMBER, UNIX_TIMESTAMP_AS_STRINGFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractFormattedTimestampJsonProvider
getFormattedTimestamp, getPattern, getTimeZone, setFieldNames, setPattern, setTimeZone, writeToMethods inherited from class AbstractFieldJsonProvider
getFieldName, setFieldNameMethods inherited from class AbstractJsonProvider
assertIsStarted, isStarted, prepareForDeferredProcessing, start, stopMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
LoggingEventFormattedTimestampJsonProvider
public LoggingEventFormattedTimestampJsonProvider()
-
-
Method Details
-
getTimestampAsInstant
- Specified by:
getTimestampAsInstantin classAbstractFormattedTimestampJsonProvider<ILoggingEvent, LogstashFieldNames>
-