mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
refs #350 CStatusMessage methods for adding extra log categories.
This commit is contained in:
@@ -38,6 +38,12 @@ namespace BlackMisc
|
||||
//! Find by severity
|
||||
CStatusMessageList findBySeverity(CStatusMessage::StatusSeverity severity) const;
|
||||
|
||||
//! Add a category to all messages in the list
|
||||
void addCategory(const CLogCategory &category);
|
||||
|
||||
//! Add some categories to all messages in the list
|
||||
void addCategories(const CLogCategoryList &categories);
|
||||
|
||||
//! \copydoc CValueObject::toQVariant
|
||||
virtual QVariant toQVariant() const override { return QVariant::fromValue(*this); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user