docs: public void flush() {
          if (parent != null) {
              throw new IllegalArgumentException("Only flush the toplevel LogNode");
          }
          if (!children.isEmpty()) {
              final String logOutput = this.toString();
              this.children.clear();
              log.info(logOutput);
          }
      }