From 319fb3088ab5dd0ce347bcc76bce7bc197bbf488 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Mon, 6 Feb 2017 14:01:36 +0100 Subject: Add a small section describing how to enable Bluetooth logging Change-Id: Iffef04c75c35ebd0174c6e3ba6701ba5f8385296 Reviewed-by: Oliver Wolff Reviewed-by: Timur Pocheptsov --- src/bluetooth/doc/src/bluetooth-index.qdoc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/bluetooth') 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 -- cgit v1.2.3