Class ServletAppender.Builder<B extends ServletAppender.Builder<B>>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • build

        public ServletAppender build()
        Description copied from interface: Builder
        Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.
        Specified by:
        build in interface Builder<B extends ServletAppender.Builder<B>>
        Returns:
        the configured instance.
      • isLogThrowables

        public boolean isLogThrowables()
        Logs with ServletContext.log(String, Throwable) if true and with ServletContext.log(String) if false.
        Returns:
        whether to log a Throwable with the servlet context.
      • setLogThrowables

        public void setLogThrowables​(boolean logThrowables)
        Logs with ServletContext.log(String, Throwable) if true and with ServletContext.log(String) if false.