Chromium Code Reviews| Index: net/tools/quic/quic_client_bin.cc |
| diff --git a/net/tools/quic/quic_client_bin.cc b/net/tools/quic/quic_client_bin.cc |
| index aaacfbb817de5837c8741435bc66c3ef2c4b00f0..49cfdef44d50ac9fcdea56fa48f9d8753d07ea51 100644 |
| --- a/net/tools/quic/quic_client_bin.cc |
| +++ b/net/tools/quic/quic_client_bin.cc |
| @@ -26,6 +26,11 @@ std::string FLAGS_hostname = "localhost"; |
| int main(int argc, char *argv[]) { |
|
tfarina
2014/02/25 17:47:20
nit (not you and not related to the patch): char*
|
| CommandLine::Init(argc, argv); |
| CommandLine* line = CommandLine::ForCurrentProcess(); |
| + |
| + logging::LoggingSettings settings; |
| + settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
| + CHECK(logging::InitLogging(settings)); |
| + |
| if (line->HasSwitch("h") || line->HasSwitch("help")) { |
| const char* help_str = |
| "Usage: quic_client [options]\n" |