Class ConsoleAppender.Builder<B extends ConsoleAppender.Builder<B>>

Type Parameters:
B - The type to build
All Implemented Interfaces:
Enclosing class:

public static class ConsoleAppender.Builder<B extends ConsoleAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<ConsoleAppender>
Builds ConsoleAppender instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setTarget

      public B setTarget(ConsoleAppender.Target aTarget)
    • setFollow

      public B setFollow(boolean shouldFollow)
    • setDirect

      public B setDirect(boolean shouldDirect)
    • build

      public ConsoleAppender 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 ConsoleAppender.Builder<B>>
      the configured instance.