diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-02-06 14:01:36 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-02-06 15:04:00 +0000 |
commit | 319fb3088ab5dd0ce347bcc76bce7bc197bbf488 (patch) | |
tree | 6c122902863c7a5ff84926c3e5a8d816f7edc914 /src/bluetooth/doc/src/bluetooth-index.qdoc | |
parent | f3f9677d6d93238e60d20045b7b672913541e458 (diff) |
Add a small section describing how to enable Bluetooth logging
Change-Id: Iffef04c75c35ebd0174c6e3ba6701ba5f8385296
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/bluetooth/doc/src/bluetooth-index.qdoc')
-rw-r--r-- | src/bluetooth/doc/src/bluetooth-index.qdoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bluetooth/doc/src/bluetooth-index.qdoc b/src/bluetooth/doc/src/bluetooth-index.qdoc index ea78f262..8a56b8a0 100644 --- a/src/bluetooth/doc/src/bluetooth-index.qdoc +++ b/src/bluetooth/doc/src/bluetooth-index.qdoc @@ -164,6 +164,14 @@ The \l QtBluetooth module exports the following \li Enables logging of the \l {Qt for WinRT} {WinRT} implementation \endtable +Logging categories can be used to enable additional warning and debug output +for QtBluetooth. More detailed information about logging can be found in \l QLoggingCategory. +A quick way to enable all QtBluetooth logging is to add the following line to the \c main() function: + +\code + QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true")); +\endcode + \section2 Examples \list \li QML |