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

All Implemented Interfaces:
Builder<ServletAppender>
Enclosing class:
ServletAppender

public static class ServletAppender.Builder<B extends ServletAppender.Builder<B>> extends AbstractAppender.Builder<B> implements Builder<ServletAppender>
  • Field Details

  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • 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.