Docs of qSetMessagePattern missing relation to qCDebug and co.
The documentation of qSetMessagePattern was missing links to qInfo() and the category logging siblings: qCDebug, qCInfo, qCWarning, and qCCritical. This patch adds the links and adds a link to QLoggingCatergory class. Task-number: QTBUG-51943 Change-Id: I85c1a205bfcd555cb0516f8cbdd157d8f20185b4 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
This commit is contained in:
parent
3d20e2e8d7
commit
c228e01e12
@ -1736,7 +1736,9 @@ void qErrnoWarning(int code, const char *msg, ...)
|
||||
|
||||
\brief Changes the output of the default message handler.
|
||||
|
||||
Allows to tweak the output of qDebug(), qWarning(), qCritical() and qFatal().
|
||||
Allows to tweak the output of qDebug(), qInfo(), qWarning(), qCritical(),
|
||||
and qFatal(). The category logging output of qCDebug(), qCInfo(),
|
||||
qCWarning(), and qCCritical() is formatted, too.
|
||||
|
||||
Following placeholders are supported:
|
||||
|
||||
@ -1789,7 +1791,7 @@ void qErrnoWarning(int code, const char *msg, ...)
|
||||
|
||||
Custom message handlers can use qFormatLogMessage() to take \a pattern into account.
|
||||
|
||||
\sa qInstallMessageHandler(), {Debugging Techniques}
|
||||
\sa qInstallMessageHandler(), {Debugging Techniques}, {QLoggingCategory}
|
||||
*/
|
||||
|
||||
QtMessageHandler qInstallMessageHandler(QtMessageHandler h)
|
||||
|
Loading…
Reference in New Issue
Block a user