Class RawFormatter

  • All Implemented Interfaces:
    Formatter

    public class RawFormatter
    extends java.lang.Object
    implements Formatter
    Basic formatter that just returns raw message string and ignores remainder of LogEvent.
    • Constructor Summary

      Constructors 
      Constructor Description
      RawFormatter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(LogEvent event)
      Format log event into string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RawFormatter

        public RawFormatter()
    • Method Detail

      • format

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