docs: public void debugPrint(final Log log) {
      this.visit(new Visitor() {
        public void visit(Layer layer, int depth) {
          String prefix = repeat('.', depth);
          log.debug(prefix + layer.toString());
        }
      });
    }