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. Best Qt5 Logging framework? (Log4Qt, QxtLogger, Log4cpp, ecc...)
Qt 6.11 is out! See what's new in the release blog

Best Qt5 Logging framework? (Log4Qt, QxtLogger, Log4cpp, ecc...)

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 5.2k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mikecurl91
    wrote on last edited by
    #1

    Hi to all,

    I've read about different logging framework tha can be used with Qt5.
    In a lot of Qt4 project, programmers adopts Log4Qt, but its development was terminated in 2009.

    Can anyone suggest me a valid and performant logging solution?
    Is possible to use Log4cplus in Qt5 application?
    thanks

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Violet Giraffe
      wrote on last edited by
      #2

      What's wrong with built-in QDebug? Define a custom message handler and you have full control over what you log where and how.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mikecurl91
        wrote on last edited by
        #3

        I've read that QDebug have some crashing problem with multituread application. Log4Qt has also the possibility to switch different log type message, to different file/location/console.

        [quote author="Violet Giraffe" date="1378291095"]What's wrong with built-in QDebug? Define a custom message handler and you have full control over what you log where and how.[/quote]

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mikecurl91
          wrote on last edited by
          #4

          how can I use custom message handler to log each logging level to different file and to the same console (the Qtcreator console)?

          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