Commit 319fb308 authored by Alex Blasche's avatar Alex Blasche
Browse files

Add a small section describing how to enable Bluetooth logging


Change-Id: Iffef04c75c35ebd0174c6e3ba6701ba5f8385296
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
Reviewed-by: default avatarTimur Pocheptsov <timur.pocheptsov@qt.io>
parent f3f9677d
No related merge requests found
Showing with 8 additions and 0 deletions
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment