refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage.

This commit is contained in:
Mathew Sutcliffe
2014-09-25 22:44:34 +01:00
parent 8ba1a37ea7
commit ce6cdf12a7
10 changed files with 447 additions and 158 deletions

View File

@@ -153,7 +153,7 @@ namespace BlackMisc
CStatusMessage CTextMessage::asStatusMessage(bool withSender, bool withRecipient, const QString separator) const
{
QString m = this->asString(withSender, withRecipient, separator);
return CStatusMessage::getInfoMessage(m, CStatusMessage::TypeTrafficNetwork);
return { this->getMessageCategory(), CStatusMessage::SeverityInfo, m };
}
/*