mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #335, log messages directly from status messages
This commit is contained in:
committed by
Roland Winklmeier
parent
1ea330cc06
commit
ffc9cc1b77
@@ -12,6 +12,7 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#include "statusmessagelist.h"
|
||||
#include "statusmessage.h"
|
||||
#include "logcategorylist.h"
|
||||
#include "index_sequence.h"
|
||||
@@ -119,6 +120,13 @@ namespace BlackMisc
|
||||
//! Set the severity to error, providing a format string, and adding the validation category.
|
||||
CLogMessage &validationError(QString format);
|
||||
|
||||
//! Set the severity as in \sa CStatusMessage::StatusSeverity , and adding the validation category.
|
||||
CLogMessage &validation(const CStatusMessage &statusMessage);
|
||||
|
||||
//! Set the severity as in \sa CStatusMessage::StatusSeverity , and adding the validation category.
|
||||
//! \todo how to handle return value here, CLogMessageList?
|
||||
void validations(const CStatusMessageList &statusMessages);
|
||||
|
||||
//! Streaming operators.
|
||||
//! \details If the format string is empty, the message will consist of all streamed values separated by spaces.
|
||||
//! Otherwise, the streamed values will replace the place markers %1, %2, %3... in the format string.
|
||||
|
||||
Reference in New Issue
Block a user