Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Log File with levels

Log File with levels

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 615 Views
  • 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 Offline
    S Offline
    satyanarayana143
    wrote on 5 Sept 2019, 09:28 last edited by
    #1

    Hi friends

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

    J P 2 Replies Last reply 5 Sept 2019, 10:16
    0
    • S satyanarayana143
      5 Sept 2019, 09:28

      Hi friends

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

      J Online
      J Online
      JonB
      wrote on 5 Sept 2019, 10:16 last edited by JonB 9 May 2019, 10:34
      #2

      @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
      4
      • S satyanarayana143
        5 Sept 2019, 09:28

        Hi friends

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

        P Offline
        P Offline
        Pablo J. Rogina
        wrote on 6 Sept 2019, 11:43 last edited by
        #3

        @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

        J 1 Reply Last reply 6 Sept 2019, 11:50
        0
        • P Pablo J. Rogina
          6 Sept 2019, 11:43

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

          J Online
          J Online
          JonB
          wrote on 6 Sept 2019, 11:50 last edited by
          #4

          @pablo-j-rogina

          although a little old

          Last updated in 2003! ;-)

          P 1 Reply Last reply 6 Sept 2019, 11:52
          0
          • J JonB
            6 Sept 2019, 11:50

            @pablo-j-rogina

            although a little old

            Last updated in 2003! ;-)

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 6 Sept 2019, 11:52 last edited by
            #5

            @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

            J 1 Reply Last reply 6 Sept 2019, 12:06
            0
            • P Pablo J. Rogina
              6 Sept 2019, 11:52

              @jonb said in Log File with levels:

              Last updated in 2003! ;-)

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

              J Online
              J Online
              JonB
              wrote on 6 Sept 2019, 12:06 last edited by
              #6

              @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
              0

              1/6

              5 Sept 2019, 09:28

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved