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

Add qInfo and qCInfo for logging general messages

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 5.5.0
    • None
    • Core: Other
    • None
    • ef6279fd516befc09d4a6b3664a727a013b82c19

    Description

      I'm the author of Cutelyst which is a web framework built on top of Qt.

      As with most web frameworks logging is very important, and with QLoggingCategory logging with Qt looks like logging with log4j, except for "info" messages.

      Debug, Warning, Critical are all categories for debugging or when something doesn't go well, but when things are fine using debug category doesn't make much sense, for example if I'd like to have only Cutelyst stats enabled I'd need to:
      cutelyst.stats.debug=true

      It would be much nicer if it was
      cutelyst.stats.info=true
      or rather
      cutelyst.*.info=true

      Is this enough use-case for a qInfo and qCInfo addition?

      Thanks.

      Attachments

        Activity

          People

            kkohne Kai Köhne
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: