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

Make qMessageFormatString public

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 5.4.0
    • 5.3.1
    • Core: I/O, Other
    • None
    • e968793e81ffcb439210e7eb422c0063834cfdc9

    Description

      We want to request to make qMessageFormatString public. So we can use it in our own QtMessageHandler.

      We implemented a QtMessageHandler to grab logs to write it to a file and into a backlog memory. After that we call the default QtMessageHandler to use the default logging. But we want the same logging output that would be created by qMessageFormatString and the QT_MESSAGE_PATTERN.

      The best way would to add an interface to add special logging outputs like the android_logger and journald. The easiest way is to make qMessageFormatString visible to public API.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes