code: public static void closeSpan(Span span, RequestLog log) {
          SpanTags.addTags(span, log);
          span.finish(wallTimeMicros(log, log.responseEndTimeNanos()));
      }
docs: Adds logging tags to the provided {@link Span} and closes it when the log is finished.
  The span cannot be used further after this method has been called.