docs: public void log() {
      if (logger != null) {
        if (registry != null) {
          if (isClient()) {
            recordClientMetrics();
          } else {
            recordServerMetrics();
          }
        }
        if (inflightId != null) {
          logger.inflightRequests(inflightId).decrementAndGet();
        }
  
        logger.log(this);
      } else {
        reset();
      }
    }