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

Improve the QML LoggingCategory

    XMLWordPrintable

Details

    Description

      Right now the QML LoggingCategory only suites the need when very simple categorized logging should be done.

      Once you want to achieve the same optimizations like in C++ you run into various problems e.g.

      There is no way to enable/disable the logging of certain message types from QML.
      There is no way to know which messages types are enabled from QML. This would be needed to write more optimized logging and only calculate values when really needed for logging them.

      If possible it would also be great if we could optimize the console.log() call in the same way as it is done in C++ to not even evaulate the arguments when the logging category passed is not enabled.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              gagi Dominik Holland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes