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



  • 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



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



  • 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]



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.