Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-19536

QtLogger: Implement categorized logging

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0 Beta 1
    • Some future release
    • Core: I/O
    • None
    • playground/qlogger.git

    Description

      Qtopia provided categorized logging as a better alternative to having random qDebug statements strewn throughout the code. The feature allowed groups of related diagnostic messages to be selectively switched on at runtime, thus allowing the user to see only the diagnostic data they are interested in rather than having the few meaningful messages swamped by all the other diagnostic/debugging output.

      This approach has two further advantages: it assists maintenance (because developers can more readily see how the diagnostic code fits into the bigger picture) and it enables the Log-Based Testing methodology.

      Investigate whether a similar approach to qLog can be provided in Qt5.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            wbeck Wolfgang Beck (closed Nokia identity) (Inactive)
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes