diff --git a/rtc_base/logging.cc b/rtc_base/logging.cc index b93474de3a..acf4263c88 100644 --- a/rtc_base/logging.cc +++ b/rtc_base/logging.cc @@ -182,17 +182,6 @@ LogMessage::LogMessage(const char* file, } #endif -// DEPRECATED. Currently only used by downstream projects that use -// implementation details of logging.h. Work is ongoing to remove those -// dependencies. -LogMessage::LogMessage(const char* file, - int line, - LoggingSeverity sev, - absl::string_view tag) - : LogMessage(file, line, sev) { - print_stream_ << tag << ": "; -} - LogMessage::~LogMessage() { FinishPrintStream(); diff --git a/rtc_base/logging.h b/rtc_base/logging.h index 13738f0d0e..b02639fb4d 100644 --- a/rtc_base/logging.h +++ b/rtc_base/logging.h @@ -435,14 +435,6 @@ class LogMessage { #if defined(WEBRTC_ANDROID) 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(); LogMessage(const LogMessage&) = delete;