The RooMsgService class is a singleton class that organizes informational, debugging, warning and errors messages generated by the RooFit core code.
Each message generated by the core has a message level (DEBUG,INFO,PROGRESS,WARNING,ERROR or FATAL), an originating object, and a 'topic'. Currently implemented topics are "Generation","Plotting", "Integration", "Minimization" and "Workspace" and "ChangeTracking".
The RooMsgService class allows to filter and redirect messages into 'streams' according to message level, topic, (base) class of originating object, name of originating object and based on attribute labels attached to individual objects.
The current default configuration creates streams for all messages at WARNING level or higher (e.g. ERROR and FATAL) and for all INFO message on topics Generation,Plotting, Integration and Minimization and redirects them to stdout. Users can create additional streams for logging of e.g. DEBUG messages on particular topics or objects and or redirect streams to C++ streams or files.
The singleton instance is accessible through RooMsgService::instance() ;
~StreamConfig() | |
void | addTopic(RooFit::MsgTopic newTopic) |
Bool_t | match(RooFit::MsgLevel level, RooFit::MsgTopic facility, const RooAbsArg* obj) |
Bool_t | match(RooFit::MsgLevel level, RooFit::MsgTopic facility, const TObject* obj) |
RooMsgService::StreamConfig& | operator=(const RooMsgService::StreamConfig&) |
RooMsgService::StreamConfig& | operator=(RooMsgService::StreamConfig&&) |
void | removeTopic(RooFit::MsgTopic oldTopic) |
RooMsgService::StreamConfig | StreamConfig() |
RooMsgService::StreamConfig | StreamConfig(const RooMsgService::StreamConfig&) |
RooMsgService::StreamConfig | StreamConfig(RooMsgService::StreamConfig&&) |
Determine if message from given object at given level on given topic is logged
Determine if message from given object at given level on given topic is logged