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 last edited by
    #1

    Hi friends

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

    JonBJ Pablo J. RoginaP 2 Replies Last reply
    0
    • S satyanarayana143

      Hi friends

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

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #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

        Hi friends

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

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on 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

        JonBJ 1 Reply Last reply
        0
        • Pablo J. RoginaP Pablo J. Rogina

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

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by
          #4

          @pablo-j-rogina

          although a little old

          Last updated in 2003! ;-)

          Pablo J. RoginaP 1 Reply Last reply
          0
          • JonBJ JonB

            @pablo-j-rogina

            although a little old

            Last updated in 2003! ;-)

            Pablo J. RoginaP Offline
            Pablo J. RoginaP Offline
            Pablo J. Rogina
            wrote on 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

            JonBJ 1 Reply Last reply
            0
            • Pablo J. RoginaP Pablo J. Rogina

              @jonb said in Log File with levels:

              Last updated in 2003! ;-)

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

              JonBJ Online
              JonBJ Online
              JonB
              wrote on 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

              • Login

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