add MsgCounter
Add a MsgCounter
, which, when incremented, logs a message at the specified logging level -- until a preset maximum is reached.
mutable Gaudi::Accumulators::MsgCounter<MSG::ERROR> m_err{this, "This is not an error...", 3};
Edited by Gerhard Raven