Commit 57ce0946 authored by Max Lyon's avatar Max Lyon
Browse files

allow lowering the debug output threshold (i.e. make file/function less verbose) via config file

parent 0d09e6ad
......@@ -139,8 +139,9 @@ int Config::Impl::level(const char* const _flnm, const char* const _fnct) const
fltr_it != lvl_fltrs_.end(); ++fltr_it)
{// continue this iteration until the maximum allowed level if found
const LevelFilterMap::value_type& fltr = *fltr_it;
if (lvl >= fltr.first) // can this filter increase the current level?
continue;
// The following two lines where commented out to allow lowering the threshold.
// if (lvl >= fltr.first) // can this filter increase the current level?
// continue;
if (fltr.second.select_file(_flnm) || fltr.second.select_function(_fnct))
lvl = fltr.first;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment