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

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
Index: chrome/test/chromedriver/server/chromedriver_server.cc
===================================================================
--- chrome/test/chromedriver/server/chromedriver_server.cc (revision 194587)
+++ 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(),

Powered by Google App Engine
This is Rietveld 408576698