mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:17:02 +08:00
* follow up of debug session, added failure/success to status message * return status messages instead of directly logging in functions returning CStatusMessage. * Ignore empty preformatted messages. * new log category
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f490504f52
commit
144ba62572
@@ -107,6 +107,12 @@ namespace BlackMisc
|
||||
//! Warning or above
|
||||
bool isWarningOrAbove() const { return this->m_severity == SeverityWarning || this->m_severity == SeverityError; }
|
||||
|
||||
//! Operation considered successful
|
||||
bool isSuccess() const;
|
||||
|
||||
//! Operation considered unsuccessful
|
||||
bool isFailure() const;
|
||||
|
||||
//! Message
|
||||
QString getMessage() const { return this->m_message; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user