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

Enable/disable individual logging category

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.8.0
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None

      Description

      There has been interest on enabling / disabling individual QLoggingCategory. Currently you have to use setFilterRules and list all your categories on the string. If you have several categories and try to set only one of them true/false, the others get mixed.

      There is the setEnabled function, but that isn't accessible from const pointer.

      This issue has been raised by interest on setting categories dynamically during application execution.

        Attachments

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

          Activity

            People

            Assignee:
            kkohne Kai Köhne
            Reporter:
            misalmel Mika Salmela
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes