Class PatternFormatter


  • public class PatternFormatter
    extends java.lang.Object
    • Method Detail

      • format

        public void format​(LogEvent event,
                           java.lang.StringBuilder buf)
      • handlesThrowable

        public boolean handlesThrowable()
        Normally pattern formatters are not meant to handle Exceptions although few pattern formatters might.

        By examining the return values for this method, the containing layout will determine whether it handles throwables or not.

        Returns:
        true if this PatternConverter handles throwables
      • toString

        public java.lang.String toString()
        Returns a String suitable for debugging.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a String suitable for debugging.