fix: allow setting stderrthreshold using GLOG_stderrthreshold (#1034)

This commit is contained in:
Sergiu Deitsch 2024-01-05 01:43:22 +01:00 committed by GitHub
parent 8fbad2cb9c
commit b172be9564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,9 +87,10 @@ GLOG_DEFINE_bool(
// //
// The default is ERROR instead of FATAL so that users can see problems // The default is ERROR instead of FATAL so that users can see problems
// when they run a program without having to look in another file. // when they run a program without having to look in another file.
DEFINE_int32(stderrthreshold, google::GLOG_ERROR, GLOG_DEFINE_int32(
"log messages at or above this level are copied to stderr in " stderrthreshold, google::GLOG_ERROR,
"addition to logfiles. This flag obsoletes --alsologtostderr."); "log messages at or above this level are copied to stderr in "
"addition to logfiles. This flag obsoletes --alsologtostderr.");
GLOG_DEFINE_string(alsologtoemail, "", GLOG_DEFINE_string(alsologtoemail, "",
"log messages go to these email addresses " "log messages go to these email addresses "