docs: public ConsoleAppender<ILoggingEvent> newConsoleAppender(Context loggerContext, String name, String logPattern) {
      PatternLayoutEncoder consoleEncoder = new PatternLayoutEncoder();
      consoleEncoder.setContext(loggerContext);
      consoleEncoder.setPattern(logPattern);
      consoleEncoder.start();
      ConsoleAppender<ILoggingEvent> consoleAppender = new ConsoleAppender<>();
      consoleAppender.setContext(loggerContext);
      consoleAppender.setEncoder(consoleEncoder);
      consoleAppender.setName(name);
      consoleAppender.setTarget("System.out");
      consoleAppender.start();
      return consoleAppender;
    }