Remove unnecessary overload in RtcEventLogOutput

Bug: webrtc:13579
Change-Id: I3ea4b8ce8d111ae6b9ce7e92f75bd4196bc9656b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/268420
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37508}
This commit is contained in:
Ali Tofigh
2022-07-12 16:08:13 +02:00
committed by WebRTC LUCI CQ
parent c8f9c56bc8
commit b7821cea6b
7 changed files with 22 additions and 27 deletions

View File

@ -136,10 +136,10 @@ void GoogCcStatePrinter::PrintHeaders(RtcEventLogOutput* log) {
int ix = 0;
for (const auto& logger : loggers_) {
if (ix++)
log->Write(absl::string_view(" "));
log->Write(" ");
log->Write(logger->name());
}
log->Write(absl::string_view("\n"));
log->Write("\n");
log->Flush();
}
@ -160,11 +160,11 @@ void GoogCcStatePrinter::PrintState(RtcEventLogOutput* log,
int ix = 0;
for (const auto& logger : loggers_) {
if (ix++)
log->Write(absl::string_view(" "));
log->Write(" ");
logger->WriteValue(log);
}
log->Write(absl::string_view("\n"));
log->Write("\n");
log->Flush();
}