mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
Allow to use status message debug() with << like info(), ...
Slack discussion: https://swift-project.slack.com/archives/C04J6J76N/p1504372206000004
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7946fd8d18
commit
782639e7c9
@@ -67,6 +67,9 @@ namespace BlackMisc
|
|||||||
//! Set the severity to debug.
|
//! Set the severity to debug.
|
||||||
Derived &debug() { return setSeverityAndMessage(SeverityDebug, ""); }
|
Derived &debug() { return setSeverityAndMessage(SeverityDebug, ""); }
|
||||||
|
|
||||||
|
//! Set the severity to debug, providing a format string.
|
||||||
|
Derived &debug(const QString &format) { return setSeverityAndMessage(SeverityDebug, format); }
|
||||||
|
|
||||||
//! Set the severity to info, providing a format string.
|
//! Set the severity to info, providing a format string.
|
||||||
Derived &info(const QString &format) { return setSeverityAndMessage(SeverityInfo, format); }
|
Derived &info(const QString &format) { return setSeverityAndMessage(SeverityInfo, format); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user