Logging library for Qt
I am quite new to Qt and I am looking for a logging library.
Something that would have several priorities to be enabled, disabled (errors, warnings, infos), could print to console or file and ideally have a set of macros that would automagically add classname and method name to the log file.
I tried googling around, managed to find mentions of Log4Qt and QxtLogger, but somehow not much activity around them and surprising amount of messages on just using qInstallMsgHandler() and creating a custom logger just for yourself.
What would be a supported logging library to study closer?
Or is everybody really creating his own logger and that’s it?
3 replies
Or take a look at this [developer.qt.nokia.com] .
You must log in to post a reply. Not a member yet? Register here!



