code: @PluginFactory
      public static TerminalConsoleAppender createAppender(
              @Required(message = "No name provided for TerminalConsoleAppender") @PluginAttribute("name") String name,
              @PluginElement("Filter") Filter filter,
              @PluginElement("Layout") @Nullable Layout<? extends Serializable> layout,
              @PluginAttribute(value = "ignoreExceptions", defaultBoolean = true) boolean ignoreExceptions) {
  
          if (layout == null) {
              layout = PatternLayout.createDefaultLayout();
          }
  
          return new TerminalConsoleAppender(name, filter, layout, ignoreExceptions);
      }
docs: Creates a new {@link TerminalConsoleAppender}.
  
  @param name The name of the appender
  @param filter The filter, can be {@code null}
  @param layout The layout, can be {@code null}
  @param ignoreExceptions If {@code true} exceptions encountered when
  appending events are logged, otherwise they are propagated to the
  caller
  @return The new appender