2022-08-26 15:44:59 +00:00
|
|
|
// Copyright 2015 Google LLC. All rights reserved.
|
2015-10-27 18:52:50 +00:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
//
|
|
|
|
// Defines verbose logging flags.
|
|
|
|
|
|
|
|
#include "packager/app/vlog_flags.h"
|
|
|
|
|
2023-09-09 00:44:17 +00:00
|
|
|
ABSL_FLAG(int32_t,
|
|
|
|
v,
|
|
|
|
0,
|
|
|
|
"Show all VLOG(m) or DVLOG(m) messages for m <= this. "
|
|
|
|
"Overridable by --vmodule.");
|
|
|
|
ABSL_FLAG(
|
|
|
|
std::string,
|
2015-10-27 18:52:50 +00:00
|
|
|
vmodule,
|
|
|
|
"",
|
|
|
|
"Per-module verbose level."
|
|
|
|
"Argument is a comma-separated list of <module name>=<log level>. "
|
|
|
|
"<module name> is a glob pattern, matched against the filename base "
|
|
|
|
"(that is, name ignoring .cc/.h./-inl.h). "
|
|
|
|
"A pattern without slashes matches just the file name portion, otherwise "
|
|
|
|
"the whole file path (still without .cc/.h./-inl.h) is matched. "
|
|
|
|
"? and * in the glob pattern match any single or sequence of characters "
|
|
|
|
"respectively including slashes. "
|
|
|
|
"<log level> overrides any value given by --v.");
|