Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved Log File with levels

    General and Desktop
    3
    6
    318
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      satyanarayana143 last edited by

      Hi friends

      can anybody help log writing into file with levels in qt .

      JonB Pablo J. Rogina 2 Replies Last reply Reply Quote 0
      • JonB
        JonB @satyanarayana143 last edited by JonB

        @satyanarayana143
        https://doc.qt.io/qt-5/qmessagelogger.html and https://doc.qt.io/qt-5/qtglobal.html#qInstallMessageHandler details it all. Also see https://wiki.qt.io/Simple-logger, https://stackoverflow.com/questions/29449237/qt5-how-to-use-qdebug-to-log-in-a-file-multi-thread-application, https://github.com/Mokolea/SimpleQtLogger/blob/master/simpleQtLogger.cpp, depending on what facilities you want. Can't see what there is to help with.

        1 Reply Last reply Reply Quote 4
        • Pablo J. Rogina
          Pablo J. Rogina @satyanarayana143 last edited by

          @satyanarayana143 although a little old, I've been using Qt Log with success so far.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          JonB 1 Reply Last reply Reply Quote 0
          • JonB
            JonB @Pablo J. Rogina last edited by

            @pablo-j-rogina

            although a little old

            Last updated in 2003! ;-)

            Pablo J. Rogina 1 Reply Last reply Reply Quote 0
            • Pablo J. Rogina
              Pablo J. Rogina @JonB last edited by

              @jonb said in Log File with levels:

              Last updated in 2003! ;-)

              Maybe your browser is tricking you. Mine shows -> Last Update: 2013-03-19

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              JonB 1 Reply Last reply Reply Quote 0
              • JonB
                JonB @Pablo J. Rogina last edited by

                @pablo-j-rogina
                https://sourceforge.net/projects/qtlog/files/qtlog/qtlog-0.5/

                qtlog-0.5.tar.gz 2003-09-19 4.0 kB

                Extracting the files, they are all dated 2003-09-19, so I think it is you who are somehow adding an extra 10 years!?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post