Remove deprecated code from logging.
Bug: webrtc:10198 Change-Id: I00c74751c5c71e515c3208a558677215ac547b78 Reviewed-on: https://webrtc-review.googlesource.com/c/116994 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26235}
This commit is contained in:
committed by
Commit Bot
parent
e893772559
commit
dc71420e78
@ -358,11 +358,6 @@ class LogCall final {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO(bugs.webrtc.org/9278): Remove this once it's no longer used.
|
|
||||||
struct LogMessageVoidify {
|
|
||||||
void operator&(std::ostream&) {} // no-presubmit-check TODO(webrtc:8982)
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace webrtc_logging_impl
|
} // namespace webrtc_logging_impl
|
||||||
|
|
||||||
// Direct use of this class is deprecated; please use the logging macros
|
// Direct use of this class is deprecated; please use the logging macros
|
||||||
@ -509,13 +504,6 @@ class LogMessage {
|
|||||||
// Logging Helpers
|
// Logging Helpers
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// DEPRECATED.
|
|
||||||
// TODO(bugs.webrtc.org/9278): Remove once there are no more users.
|
|
||||||
#define RTC_LOG_SEVERITY_PRECONDITION(sev) \
|
|
||||||
(rtc::LogMessage::IsNoop(sev)) \
|
|
||||||
? static_cast<void>(0) \
|
|
||||||
: rtc::webrtc_logging_impl::LogMessageVoidify()&
|
|
||||||
|
|
||||||
#define RTC_LOG_FILE_LINE(sev, file, line) \
|
#define RTC_LOG_FILE_LINE(sev, file, line) \
|
||||||
rtc::webrtc_logging_impl::LogCall() & \
|
rtc::webrtc_logging_impl::LogCall() & \
|
||||||
rtc::webrtc_logging_impl::LogStreamer<>() \
|
rtc::webrtc_logging_impl::LogStreamer<>() \
|
||||||
|
|||||||
Reference in New Issue
Block a user