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

Enable/disable individual logging category

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.8.0
    • Core: I/O
    • 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

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              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