refs #601, #600, #485 Status message handling.

* 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:
Klaus Basan
2016-02-25 22:26:28 +00:00
committed by Mathew Sutcliffe
parent f490504f52
commit 144ba62572
9 changed files with 70 additions and 33 deletions

View File

@@ -50,6 +50,13 @@ namespace BlackMisc
return cat;
}
//! Core/base services such as caching etc.
static const CLogCategory &services()
{
static const CLogCategory cat { "swift.services" };
return cat;
}
//! Contexts
static const CLogCategory &context()
{
@@ -106,6 +113,7 @@ namespace BlackMisc
static const QList<CLogCategory> cats
{
uncategorized(),
services(),
validation(),
context(),
contextSlot(),