Class LocalSequenceNumberConverter

All Implemented Interfaces:
ContextAware, LifeCycle

public class LocalSequenceNumberConverter extends ClassicConverter
A converters based on a 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.

  • Constructor Details

    • LocalSequenceNumberConverter

      public LocalSequenceNumberConverter()
  • Method Details

    • convert

      public String convert(ILoggingEvent event)
      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 class Converter<ILoggingEvent>
      Parameters:
      event -