docs: private static void emitSpans(PrintWriter out, Formatter formatter, Collection<SpanData> spans) {
      out.write("<pre>\n");
      formatter.format("%-23s %18s%n", "When", "Elapsed(s)");
      out.write("-------------------------------------------\n");
      for (SpanData span : spans) {
        tracer
            .getCurrentSpan()
            .addAnnotation(
                "Render span.",
                ImmutableMap.<String, AttributeValue>builder()
                    .put(
                        "SpanId",
                        AttributeValue.stringAttributeValue(
                            BaseEncoding.base16()
                                .lowerCase()
                                .encode(span.getContext().getSpanId().getBytes())))
                    .build());
  
        emitSingleSpan(formatter, span);
      }
      out.write("</pre>\n");
    }