diff --git a/rtc_base/logging.h b/rtc_base/logging.h index b02639fb4d..88b0359c02 100644 --- a/rtc_base/logging.h +++ b/rtc_base/logging.h @@ -504,14 +504,6 @@ class LogMessage { LogMessage(const char* file, int line, LoggingSeverity sev, const char* tag) { } #endif - // DEPRECATED - DO NOT USE - PLEASE USE THE MACROS INSTEAD OF THE CLASS. - // Android code should use the 'const char*' version since tags are static - // and we want to avoid allocating a std::string copy per log line. - ABSL_DEPRECATED("Use RTC_LOG macros instead of accessing this class directly") - LogMessage(const char* file, - int line, - LoggingSeverity sev, - absl::string_view tag) {} ~LogMessage() = default; inline void AddTag(const char* tag) {}