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

Unified Diff: chrome/test/chromedriver/server/chromedriver_server.cc

Issue 14263024: Logging API in chromedriver2. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | « chrome/test/chromedriver/logging_unittest.cc ('k') | chrome/test/chromedriver/session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/server/chromedriver_server.cc
===================================================================
--- chrome/test/chromedriver/server/chromedriver_server.cc (revision 194993)
+++ chrome/test/chromedriver/server/chromedriver_server.cc (working copy)
@@ -159,6 +159,9 @@
false, // enable_thread_id
true, // enable_timestamp
false); // enable_tickcount
+ if (cmd_line->HasSwitch("verbose")) {
+ logging::SetMinLogLevel(logging::LOG_VERBOSE);
+ }
scoped_ptr<CommandExecutor> executor(new CommandExecutorImpl());
HttpHandler handler(executor.Pass(), HttpHandler::CreateCommandMap(),
« no previous file with comments | « chrome/test/chromedriver/logging_unittest.cc ('k') | chrome/test/chromedriver/session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698