Suppress printout of unused MsgCounter instances

Adds an implementation of toBePrinted for MsgCounter that means they are only printed if incremented at least once.

bool toBePrinted() const override { return this->value() > 0; }

@graven FYI

Merge request reports

Loading