Re: [Log4cplus-devel] Logging QT Objects using Log4cplus
Logging Framework for C++
Brought to you by:
wilx
From: Václav Z. <vha...@gm...> - 2013-09-05 21:33:18
|
On 09/05/2013 04:42 PM, Umesh Sharma wrote: > Hi , > I am wondering if log4cplus supports logging of QT object. > e.g. LOG4CPLUS_INFO(loggerId, QStringobj) or > LOG4CPLUS_INFO(loggerId, QMapobj) > > It is giving compilation error that > Generally when we use qdebug(), we just have to write following statement :- > > qdebug() << QStringObj; > qdebug() << QmapObj; > > > Let me know if you have any solution with regards to that. I do not think that this is possible with log4cplus without me actually writing a lot of operator<< implementations. -- VZ |