61 mInternalData->msg =
msg;
65 if (mInternalData.use_count()==1)
67 mInternalData->msg.mText = QString::fromStdString(mInternalData->stream.str());
68 reporter()->sendMessage(mInternalData->msg);
82 std::stringstream& MessageLogger::getStream()
84 return mInternalData->stream;
void reportError(QString msg)
void reportVolatile(QString msg)
MESSAGE_LEVEL mMessageLevel
MessageLogger logger() const
void reportWarning(QString msg)
void reportSuccess(QString msg)
MessageLogger(const char *file, int line, const char *function, const QString &channel, MESSAGE_LEVEL severity)
void reportDebug(QString msg)
Namespace for all CustusX production code.