Add compile-time warning for RTC_LOG(INFO)

Bug: webrtc:13362
Change-Id: I3727891bfeb192941f249a74ead5ef38ac8acc2f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238800
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35411}
diff --git a/rtc_base/logging.h b/rtc_base/logging.h
index 9bfef80..b6fdf9c 100644
--- a/rtc_base/logging.h
+++ b/rtc_base/logging.h
@@ -91,8 +91,10 @@
   LS_NONE,
   // Compatibility aliases, to be deleted.
   // TODO(bugs.webrtc.org/13362): Remove usage and delete.
-  INFO = LS_INFO,
+  INFO [[deprecated("Use LS_INFO")]] = LS_INFO,
+  // WARNING [[deprecated("Use LS_WARNING")]] = LS_WARNING,
   WARNING = LS_WARNING,
+  // LERROR [[deprecated("Use LS_ERROR")]] = LS_ERROR
   LERROR = LS_ERROR
 };