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 of currently with a currently activated QLoggingCategory. Here you can:

  • Search and filter messages.
  • Look at a backtrace of a selected critical or warning message.
  • 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 in 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 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.