33 #ifndef CXLOGMESSAGE_H 34 #define CXLOGMESSAGE_H 36 #include "cxResourceExport.h" 45 #include "boost/shared_ptr.hpp" 78 Message(QString text =
"", MESSAGE_LEVEL messageLevel=
mlDEBUG,
int timeoutTime=-1);
81 QString getPrintableMessage()
const;
82 MESSAGE_LEVEL getMessageLevel()
const;
83 QString getText()
const;
84 QDateTime getTimeStamp()
const;
85 int getTimeout()
const;
86 QString getSourceLocation()
const;
102 void setThreadName();
114 #endif // CXLOGMESSAGE_H Q_DECLARE_METATYPE(Message)
MESSAGE_LEVEL mMessageLevel
Namespace for all CustusX production code.