Class RawFormatter

java.lang.Object
org.apache.log.format.RawFormatter
All Implemented Interfaces:
Formatter

public class RawFormatter extends Object implements Formatter
Basic formatter that just returns raw message string and ignores remainder of LogEvent.
Author:
Peter Donald
  • Constructor Details

    • RawFormatter

      public RawFormatter()
  • Method Details

    • format

      public String format(LogEvent event)
      Format log event into string.
      Specified by:
      format in interface Formatter
      Parameters:
      event - the event
      Returns:
      the formatted string