VideoStreamEncoder: add Encode and QP feedback logging.

Bug: b/245029833
Change-Id: I02f867d2505ad5748bda3c72fd690b2c07647732
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275202
Commit-Queue: Markus Handell <handellm@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38064}
diff --git a/video/video_stream_encoder.cc b/video/video_stream_encoder.cc
index 249514e..cbea3b3 100644
--- a/video/video_stream_encoder.cc
+++ b/video/video_stream_encoder.cc
@@ -1755,6 +1755,8 @@
 void VideoStreamEncoder::EncodeVideoFrame(const VideoFrame& video_frame,
                                           int64_t time_when_posted_us) {
   RTC_DCHECK_RUN_ON(&encoder_queue_);
+  RTC_LOG(LS_VERBOSE) << __func__ << " posted " << time_when_posted_us
+                      << " ntp time " << video_frame.ntp_time_ms();
 
   // If the encoder fail we can't continue to encode frames. When this happens
   // the WebrtcVideoSender is notified and the whole VideoSendStream is
@@ -1975,6 +1977,8 @@
                                 image_copy.size())
                          .value_or(-1);
   }
+  RTC_LOG(LS_VERBOSE) << __func__ << " spatial_idx " << spatial_idx << " qp "
+                      << image_copy.qp_;
 
   // Piggyback ALR experiment group id and simulcast id into the content type.
   const uint8_t experiment_id =