Skip to content

Commit

Permalink
Merge pull request #1383 from NCAR/feature_1382_verbosity
Browse files Browse the repository at this point in the history
Feature 1382 verbosity
  • Loading branch information
jprestop committed Jun 22, 2020
2 parents 1b96c75 + 2e86074 commit 16be6fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions met/src/tools/core/series_analysis/series_analysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2294,6 +2294,12 @@ void set_log_file(const StringArray & a) {

void set_verbosity(const StringArray & a) {
mlog.set_verbosity_level(atoi(a[0].c_str()));

if(mlog.verbosity_level() >= 3) {
mlog << Warning << "\nRunning Series-Analysis at verbosity >= 3 "
<< "produces excessive log output and can slow the runtime "
<< "considerably.\n\n";
}
}

////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 16be6fa

Please sign in to comment.