Class LocalSequenceNumberConverter

  • All Implemented Interfaces:
    ContextAware, LifeCycle

    public class LocalSequenceNumberConverter
    extends ClassicConverter
    This internal logback API is not supported by AEM as a Cloud Service.
    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 Detail

      • LocalSequenceNumberConverter

        public LocalSequenceNumberConverter()
    • Method Detail

      • convert

        public java.lang.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>