mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
* changed signals in setup reader * explicit mode is default * detailed information what is loaded * new log pattern * allow to add message list to log component * allow to clear cache by cmd line arg * consolidated cmd names
This commit is contained in:
@@ -197,6 +197,13 @@ namespace BlackMisc
|
||||
return c.isEmpty() ? this->getCategoriesAsString() : c;
|
||||
}
|
||||
|
||||
bool CStatusMessage::clipSeverity(CStatusMessage::StatusSeverity severity)
|
||||
{
|
||||
if (this->getSeverity() <= severity) { return false; }
|
||||
this->setSeverity(severity);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CStatusMessage::isSuccess() const
|
||||
{
|
||||
return !isFailure();
|
||||
|
||||
Reference in New Issue
Block a user