Class Log4jAppenderHandler.FormatterLayout

  • All Implemented Interfaces:
    org.apache.log4j.spi.OptionHandler
    Enclosing class:
    Log4jAppenderHandler

    public final class Log4jAppenderHandler.FormatterLayout
    extends org.apache.log4j.Layout
    An emulator for log4j Layouts.
    Author:
    David M. Lloyd
    • Constructor Detail

      • FormatterLayout

        public FormatterLayout​(Formatter formatter)
        Construct a new instance.
        Parameters:
        formatter - the formatter to delegate to
    • Method Detail

      • format

        public String format​(org.apache.log4j.spi.LoggingEvent event)
        Specified by:
        format in class org.apache.log4j.Layout
      • ignoresThrowable

        public boolean ignoresThrowable()
        Specified by:
        ignoresThrowable in class org.apache.log4j.Layout
      • activateOptions

        public void activateOptions()