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

add API to set QLoggingCategory for QJSEngine ConsoleExtension

    XMLWordPrintable

Details

    Description

      Using the console API from JavaScript can only output to the default logging category `js`. I would like to be able to pass a QLoggingCategory to a QJSEngine to change that. The use case in Mixxx is that each hardware DJ controller is handled by one QJSEngine. Debugging messages from C++ for each controller can be given a logging category for the specific device. However debugging messages from JavaScript all go into the same logging category even if multiple devices are in use.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            be Be Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes