java.lang.Object
ch.qos.logback.core.pattern.Converter<ILoggingEvent>
ch.qos.logback.core.pattern.FormattingConverter<ILoggingEvent>
ch.qos.logback.core.pattern.DynamicConverter<ILoggingEvent>
ch.qos.logback.classic.pattern.ClassicConverter
ch.qos.logback.classic.pattern.EpochConverter
- All Implemented Interfaces:
ContextAware,LifeCycle
The EpochConverter class extends the ClassicConverter to handle the conversion of logging event
timestamps into epoch time. This class allows control over whether the output epoch time is
represented in milliseconds (default) or seconds.
- Since:
- 1.5.25
-
Field Summary
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, stopMethods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Constructor Details
-
EpochConverter
public EpochConverter()
-
-
Method Details
-
start
- Specified by:
startin interfaceLifeCycle- Overrides:
startin classDynamicConverter<ILoggingEvent>
-
convert
- Specified by:
convertin classConverter<ILoggingEvent>
-