refs #642, fixed setup loading, in same step refs #636 clear cache

* 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:
Klaus Basan
2016-04-14 02:27:23 +02:00
parent bd9de9308c
commit d0daad7d34
17 changed files with 372 additions and 159 deletions

View File

@@ -37,6 +37,9 @@ namespace BlackMisc
//! Construct from a base class object.
CStatusMessageList(const CSequence<CStatusMessage> &other);
//! Construct from single message
CStatusMessageList(const CStatusMessage &statusMessage);
//! Find by type
CStatusMessageList findByCategory(const CLogCategory &category) const;
@@ -52,6 +55,18 @@ namespace BlackMisc
//! Warning or error messages
bool hasWarningOrErrorMessages() const;
//! All messages are marked as success
bool isSuccess() const;
//! Any message is marked as failure
bool isFailure() const;
//! Get all error messages
CStatusMessageList getErrorMessages() const;
//! Get all warning and error messages
CStatusMessageList getWarningAndErrorMessages() const;
//! Add a category to all messages in the list
void addCategory(const CLogCategory &category);
@@ -64,6 +79,9 @@ namespace BlackMisc
//! Reset the categories of all messages in the list
void setCategories(const CLogCategoryList &categories);
//! And higher (more critical) severity will be clipped to given severity
void clipSeverity(CStatusMessage::StatusSeverity severity);
//! Remove warnings and below
void removeWarningsAndBelow();