FACT++  1.0
int MessageImp::Update ( const std::string &  txt,
int  severity = kMessage 
)

Calls Write with the current time the message text and the severity.

Parameters
txtThe message text to be passed to Write
severityThe severity of the message to be passed to Write

Definition at line 156 of file MessageImp.cc.

References Write().

Referenced by Alarm(), Comment(), Debug(), Error(), EventBuilderWrapper::factOut(), Fatal(), IndicateStateChange(), Info(), Message(), and Warn().

157 {
158  Write(Time(), txt, severity);
159  return 0;
160 }
Adds some functionality to boost::posix_time::ptime for our needs.
Definition: Time.h:30
virtual int Write(const Time &time, const std::string &txt, int qos=kMessage)
Definition: MessageImp.cc:133

+ Here is the call graph for this function:

+ Here is the caller graph for this function: