Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
vlog_flags.cc
1 // Copyright 2015 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 //
7 // Defines verbose logging flags.
8 
9 #include "packager/app/vlog_flags.h"
10 
11 DEFINE_int32(v,
12  0,
13  "Show all VLOG(m) or DVLOG(m) messages for m <= this. "
14  "Overridable by --vmodule.");
15 DEFINE_string(
16  vmodule,
17  "",
18  "Per-module verbose level."
19  "Argument is a comma-separated list of <module name>=<log level>. "
20  "<module name> is a glob pattern, matched against the filename base "
21  "(that is, name ignoring .cc/.h./-inl.h). "
22  "A pattern without slashes matches just the file name portion, otherwise "
23  "the whole file path (still without .cc/.h./-inl.h) is matched. "
24  "? and * in the glob pattern match any single or sequence of characters "
25  "respectively including slashes. "
26  "<log level> overrides any value given by --v.");