Class 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.

  • Constructor Details

  • 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 returning a formatted string representation.
      Specified by:
      convert in class Converter<ILoggingEvent>
      Parameters:
      event - the event to convert
      Returns:
      the formatted string representation