diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 19:26:36 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 19:26:36 +0000 |
commit | 99b7c57fda118a1507d30b59e29005fdd2a73f7c (patch) | |
tree | f6d93b1690eb4395d1edb7c6c24f32d093421f92 /base/base_switches.cc | |
parent | cca1256e67bcdc4b1ce6be8cd4494b3cffa60198 (diff) | |
download | chromium_src-99b7c57fda118a1507d30b59e29005fdd2a73f7c.zip chromium_src-99b7c57fda118a1507d30b59e29005fdd2a73f7c.tar.gz chromium_src-99b7c57fda118a1507d30b59e29005fdd2a73f7c.tar.bz2 |
Implemented VLOG() et al.
Implemented VLOG(), VLOG_IF(), VLOG_IS_ON(). Added --v and --vmodule
switches.
Changed some spammy sync-related logs to use VLOG.
BUG=56965
TEST=New unittests
Review URL: http://codereview.chromium.org/3448028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_switches.cc')
-rw-r--r-- | base/base_switches.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc index b5e145f..49c6487 100644 --- a/base/base_switches.cc +++ b/base/base_switches.cc @@ -31,6 +31,16 @@ const char kNoMessageBox[] = "no-message-box"; // to the test framework that the current process is a child process. const char kTestChildProcess[] = "test-child-process"; +// Gives the default maximal active V-logging level; 0 is the default. +// Normally positive values are used for V-logging levels. +const char kV[] = "v"; + +// Gives the per-module maximal V-logging levels to override the value +// given by --v. E.g. "my_module=2,foo*=3" would change the logging +// level for all code in source files "my_module.*" and "foo*.*" +// ("-inl" suffixes are also disregarded for this matching). +const char kVModule[] = "vmodule"; + // Will wait for 60 seconds for a debugger to come to attach to the process. const char kWaitForDebugger[] = "wait-for-debugger"; |