ProgressBar: Respect verbosity level
This makes its behaviour consistent with SimpleLogger.
This commit is contained in:
parent
ef83ced4e1
commit
3e0e443181
|
@ -122,6 +122,7 @@ public:
|
|||
|
||||
void log(Verbosity lvl, const FormatOrString & fs) override
|
||||
{
|
||||
if (lvl > verbosity) return;
|
||||
auto state(state_.lock());
|
||||
log(*state, lvl, fs.s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue