#include <AsgMessaging.h>
Public Member Functions | |
AsgMessaging (const std::string &name) | |
Constructor with a name. | |
AsgMessaging (const IAsgTool *tool) | |
Constructor with a tool pointer. | |
Functions providing the same interface as AthMessaging | |
bool | msgLvl (const MSG::Level lvl) const |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
Class mimicking the AthMessaging class from the offline software
This class is supposed to provide a convenient way to provide messaging capabilities for classes that are not dual-use tools themselves. Such classes are encouraged to inherit from this one, and then print output messages using the "standard" messaging macros.
MsgStream & asg::AsgMessaging::msg | ( | const MSG::Level | lvl | ) | const |
The standard message stream.
lvl | The message level to set the stream to |
MsgStream & asg::AsgMessaging::msg | ( | ) | const |
The standard message stream.
bool asg::AsgMessaging::msgLvl | ( | const MSG::Level | lvl | ) | const |
Test the output level of the object
lvl | The message level to test against |
true
If messages at level "lvl" will be printed