mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 20:25:29 +08:00
Ref T215, severity can be set for validation
This commit is contained in:
@@ -82,6 +82,9 @@ namespace BlackMisc
|
|||||||
//! Set the severity to error, providing a format string.
|
//! Set the severity to error, providing a format string.
|
||||||
Derived &error(const QString &format) { return log(SeverityError, format); }
|
Derived &error(const QString &format) { return log(SeverityError, format); }
|
||||||
|
|
||||||
|
//! Set the severity to s, providing a format string, and adding the validation category.
|
||||||
|
Derived &validation(StatusSeverity s, const QString &format) { setValidation(); return log(s, format); }
|
||||||
|
|
||||||
//! Set the severity to info, providing a format string, and adding the validation category.
|
//! Set the severity to info, providing a format string, and adding the validation category.
|
||||||
Derived &validationInfo(const QString &format) { setValidation(); return log(SeverityInfo, format); }
|
Derived &validationInfo(const QString &format) { setValidation(); return log(SeverityInfo, format); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user