mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage, to return CStatusMessage instead for simplicity.
This commit is contained in:
@@ -26,6 +26,15 @@ namespace BlackMisc
|
||||
|
||||
public:
|
||||
|
||||
//! Log message category for anything related to settings
|
||||
static QString getMessageCategory() { return "swift.settings"; }
|
||||
|
||||
//! Log message category for settings validation messages
|
||||
static QString validationMessageCategory() { return "swift.settings.validation"; }
|
||||
|
||||
//! Log message category for settings update messages
|
||||
static QString updateMessageCategory() { return "swift.settings.update"; }
|
||||
|
||||
//! Command validate
|
||||
static const QString &CmdValidate()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user