Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: net/tools/quic/quic_client.cc

Issue 2631613002: Revert of Add quic_logging (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/platform/impl/quic_socket_utils_test.cc ('k') | net/tools/quic/quic_client_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index bfd2442cd257d4d2d9029fb430e80bc56e578497..e072fd601a9421d24e3c5285842a612531d4eab1 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -11,6 +11,7 @@
#include <sys/socket.h>
#include <unistd.h>
+#include "base/logging.h"
#include "base/run_loop.h"
#include "net/base/sockaddr_storage.h"
#include "net/quic/core/crypto/quic_random.h"
@@ -21,7 +22,6 @@
#include "net/quic/core/quic_server_id.h"
#include "net/quic/core/spdy_utils.h"
#include "net/quic/platform/api/quic_bug_tracker.h"
-#include "net/quic/platform/api/quic_logging.h"
#include "net/tools/quic/platform/impl/quic_socket_utils.h"
#include "net/tools/quic/quic_epoll_alarm_factory.h"
#include "net/tools/quic/quic_epoll_connection_helper.h"
@@ -104,13 +104,12 @@
sockaddr_storage addr = client_address.generic_address();
int rc = bind(fd, reinterpret_cast<sockaddr*>(&addr), sizeof(addr));
if (rc < 0) {
- QUIC_LOG(ERROR) << "Bind failed: " << strerror(errno);
+ LOG(ERROR) << "Bind failed: " << strerror(errno);
return false;
}
if (client_address.FromSocket(fd) != 0) {
- QUIC_LOG(ERROR) << "Unable to get self address. Error: "
- << strerror(errno);
+ LOG(ERROR) << "Unable to get self address. Error: " << strerror(errno);
}
fd_address_map_[fd] = client_address;
@@ -161,7 +160,7 @@
session()->connection()->OnCanWrite();
}
if (event->in_events & EPOLLERR) {
- QUIC_DLOG(INFO) << "Epollerr";
+ DVLOG(1) << "Epollerr";
}
}
« no previous file with comments | « net/tools/quic/platform/impl/quic_socket_utils_test.cc ('k') | net/tools/quic/quic_client_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698