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

Unified Diff: net/quic/core/quic_versions.cc

Issue 2611613003: Add quic_logging (Closed)
Patch Set: fix failed test? 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/quic/core/quic_unacked_packet_map.cc ('k') | net/quic/core/spdy_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_versions.cc
diff --git a/net/quic/core/quic_versions.cc b/net/quic/core/quic_versions.cc
index bb02c4d86728679b169bf40d3b41cacc0f246cc7..0eb2b6d5c4b8d21f3ac1e4a3f140b79716f578d3 100644
--- a/net/quic/core/quic_versions.cc
+++ b/net/quic/core/quic_versions.cc
@@ -10,6 +10,7 @@
#include "net/quic/core/quic_flags.h"
#include "net/quic/core/quic_tag.h"
#include "net/quic/core/quic_types.h"
+#include "net/quic/platform/api/quic_logging.h"
using base::StringPiece;
using std::string;
@@ -76,7 +77,7 @@ QuicTag QuicVersionToQuicTag(const QuicVersion version) {
default:
// This shold be an ERROR because we should never attempt to convert an
// invalid QuicVersion to be written to the wire.
- LOG(ERROR) << "Unsupported QuicVersion: " << version;
+ QUIC_LOG(ERROR) << "Unsupported QuicVersion: " << version;
return 0;
}
}
@@ -88,7 +89,8 @@ QuicVersion QuicTagToQuicVersion(const QuicTag version_tag) {
}
}
// Reading from the client so this should not be considered an ERROR.
- DVLOG(1) << "Unsupported QuicTag version: " << QuicTagToString(version_tag);
+ QUIC_DLOG(INFO) << "Unsupported QuicTag version: "
+ << QuicTagToString(version_tag);
return QUIC_VERSION_UNSUPPORTED;
}
« no previous file with comments | « net/quic/core/quic_unacked_packet_map.cc ('k') | net/quic/core/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698