Messages

Overview

The Messages tool allows you access to diagnostic messages sent via QDebug, as well as to configure QLoggingCategory settings dynamically at runtime.

Message Browser

The message browser shows you all diagnostic messages of the target using a QLoggingCategory that is active on the target. Here you can:

  • search and filter messages,
  • look at a backtrace of a selected critical or warning message,
  • and navigate to the code location of a diagnostic message (availability depends on build settings).

Logging Categegory Configuration

The logging category configuration shows all QLoggingCategory instances detected on the running target, as well as their current configuration.

Here you can enable or disable individual logging categories at runtime, which takes immediate effect. This is particularly useful to only enable output of high-volume diagnostics for a short period of time.

Examples

The following examples make use of the debug message browser:

© 2016-2017 Klarälvdalens Datakonsult AB (KDAB). Documentation contributions included herein are the copyrights of their respective owners.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.