Allow to use status message debug() with << like info(), ...

Slack discussion: https://swift-project.slack.com/archives/C04J6J76N/p1504372206000004
This commit is contained in:
Klaus Basan
2017-09-02 19:50:29 +02:00
committed by Mathew Sutcliffe
parent 7946fd8d18
commit 782639e7c9

View File

@@ -67,6 +67,9 @@ namespace BlackMisc
//! Set the severity to debug.
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.
Derived &info(const QString &format) { return setSeverityAndMessage(SeverityInfo, format); }