Switches the message service to a different level while the instance is alive.
Can also temporarily activate / deactivate message topics. Use as
[ statements that normally generate
a lot of
output ]
Switches the message service to a different level while the instance is alive.
Definition at line 42 of file RooHelpers.h.
#include <RooHelpers.h>
◆ LocalChangeMsgLevel()
Change message level (and topics) while this object is alive, reset when it goes out of scope.
- Parameters
-
[in] | lvl | The desired message level. Defaults to verbose. |
[in] | extraTopics | Extra topics to be switched on. These will only switched on in the last stream to prevent all streams are printing. |
[in] | removeTopics | Message topics to be switched off |
[in] | overrideExternalLevel | Override the user message level. |
Definition at line 35 of file RooHelpers.cxx.
◆ ~LocalChangeMsgLevel()
RooHelpers::LocalChangeMsgLevel::~LocalChangeMsgLevel |
( |
| ) |
|
◆ fExtraStream
int RooHelpers::LocalChangeMsgLevel::fExtraStream {-1} |
|
private |
◆ fOldConf
◆ fOldKillBelow
The documentation for this class was generated from the following files: