Module ch.qos.logback.classic
Package ch.qos.logback.classic.pattern
Class LocalSequenceNumberConverter
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.LocalSequenceNumberConverter
- All Implemented Interfaces:
ContextAware
,LifeCycle
A converters based on a locally incremented sequence number. The sequence
number is initialized to the number of milliseconds elapsed since 1970-01-01
until this instance is initialized.
EXPERIMENTAL This class is experimental and may be removed in the future.
-
Field Summary
Fields inherited from class ch.qos.logback.core.pattern.DynamicConverter
started
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(ILoggingEvent event) The convert method is responsible for extracting data from the event and storing it for later use by the write method.Methods inherited from class ch.qos.logback.core.pattern.DynamicConverter
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, start, stop
Methods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Constructor Details
-
LocalSequenceNumberConverter
public LocalSequenceNumberConverter()
-
-
Method Details
-
convert
Description copied from class:Converter
The convert method is responsible for extracting data from the event and storing it for later use by the write method.- Specified by:
convert
in classConverter<ILoggingEvent>
- Parameters:
event
-
-