Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
Base
Commits
57ce0946
Commit
57ce0946
authored
Oct 18, 2018
by
Max Lyon
Browse files
allow lowering the debug output threshold (i.e. make file/function less verbose) via config file
parent
0d09e6ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Debug/DebConfig.cc
View file @
57ce0946
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment