diff --git a/rtc_base/logging.h b/rtc_base/logging.h index c15c37af0a..c7d083e42d 100644 --- a/rtc_base/logging.h +++ b/rtc_base/logging.h @@ -519,10 +519,10 @@ class LogMessage { ? static_cast(0) \ : rtc::webrtc_logging_impl::LogMessageVoidify()& -#define RTC_LOG_FILE_LINE(sev, file, line) \ - rtc::webrtc_logging_impl::LogCall() & \ - rtc::webrtc_logging_impl::LogStreamer<>() \ - << rtc::webrtc_logging_impl::LogMetadata(__FILE__, __LINE__, sev) +#define RTC_LOG_FILE_LINE(sev, file, line) \ + rtc::webrtc_logging_impl::LogCall() & \ + rtc::webrtc_logging_impl::LogStreamer<>() \ + << rtc::webrtc_logging_impl::LogMetadata(file, line, sev) #define RTC_LOG(sev) RTC_LOG_FILE_LINE(rtc::sev, __FILE__, __LINE__)