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

Add qInfo and qCInfo for logging general messages

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.5.0
    • Component/s: Core: Other
    • Labels:
      None
    • Commits:
      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

        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:
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes