Assorted logging pedantry
This cl fixes various minor issues found during a quick scan of the current log
usage.
Bug: webrtc:8529
Change-Id: I1e1eb02ef220177dbb327203509736ad7f70cc1c
Reviewed-on: https://webrtc-review.googlesource.com/52262
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Henrik Grunell <henrikg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21996}
diff --git a/pc/webrtcsdp.cc b/pc/webrtcsdp.cc
index 535ed23..e796f4c 100644
--- a/pc/webrtcsdp.cc
+++ b/pc/webrtcsdp.cc
@@ -1483,7 +1483,7 @@
} else if (streams.size() > 1u) {
RTC_LOG(LS_WARNING)
<< "Trying to serialize Unified Plan SDP with more than "
- << "one track in a media section. Omitting 'a=msid'.";
+ "one track in a media section. Omitting 'a=msid'.";
}
}
@@ -2459,8 +2459,8 @@
bundle_only = false;
RTC_LOG(LS_WARNING)
<< "a=bundle-only attribute observed with a nonzero "
- << "port; this usage is unspecified so the attribute is being "
- << "ignored.";
+ "port; this usage is unspecified so the attribute is being "
+ "ignored.";
}
} else {
// If not using bundle-only, interpret port 0 in the normal way; the m=
@@ -3176,7 +3176,8 @@
if (std::find(payload_types.begin(), payload_types.end(), payload_type) ==
payload_types.end()) {
RTC_LOG(LS_WARNING) << "Ignore rtpmap line that did not appear in the "
- << "<fmt> of the m-line: " << line;
+ "<fmt> of the m-line: "
+ << line;
return true;
}
const std::string& encoder = fields[1];