org.apache.logging.log4j.web.appender

Class ServletAppender

    • Method Detail

      • append

        public void append(LogEvent event)
      • createAppender

        @Deprecated
        public static ServletAppender createAppender(Layout<? extends Serializable> layout,
                                                                 Filter filter,
                                                                 String name,
                                                                 boolean ignoreExceptions)
        Deprecated. Use newBuilder().
        Creates a Servlet Appender.
        Parameters:
        layout - The layout to use (required). Must extend AbstractStringLayout.
        filter - The Filter or null.
        name - The name of the Appender (required).
        ignoreExceptions - If true (default) exceptions encountered when appending events are logged; otherwise they are propagated to the caller.
        Returns:
        The ServletAppender.

Copyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.