From b0d38d4c40304f92bf1b06027b225ac807fef702 Mon Sep 17 00:00:00 2001 From: "akalin@chromium.org" Date: Fri, 29 Oct 2010 00:39:48 +0000 Subject: Added support for filtering on the entire pathname to --vmodule. Also cleaned up spurious warning when --vmodule is used but --v is not. Removed slow perf unittest from vlog_unittest.cc. BUG=61123 TEST=New vlog unittests Review URL: http://codereview.chromium.org/4140007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64346 0039d316-1c4b-4281-b951-d872f2087c98 --- base/base_switches.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'base/base_switches.cc') diff --git a/base/base_switches.cc b/base/base_switches.cc index 49c6487..d907a3a 100644 --- a/base/base_switches.cc +++ b/base/base_switches.cc @@ -39,6 +39,11 @@ const char kV[] = "v"; // 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). +// +// Any pattern containing a forward or backward slash will be tested +// against the whole pathname and not just the module. E.g., +// "*/foo/bar/*=2" would change the logging level for all code in +// source files under a "foo/bar" directory. const char kVModule[] = "vmodule"; // Will wait for 60 seconds for a debugger to come to attach to the process. -- cgit v1.1