Class ThreadConverter

All Implemented Interfaces:
ContextAware, LifeCycle

public class ThreadConverter extends ClassicConverter
Return the events thread (usually the current thread).
Author:
Ceki Gülcü
  • 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