[Development] QLog ( Work on qDebug and friends)
David Faure
david.faure at kdab.com
Tue Feb 21 11:31:55 CET 2012
On Tuesday 21 February 2012 10:19:49 kai.koehne at nokia.com wrote:
> > -----Original Message-----
> > From: ext David Faure [mailto:david.faure at kdab.com]
> >
> > Isn't the same information given by "a category is present in the
> > QMessageLogContext"? All qLog calls are forced to get a category, right?
>
> Right, but that would mean we can't use categories for anything except qLog.
> If we use categories solely for the purpose of filtering that's probably
> fine, but I personally also see some value in having them available as free
> text in the log, for all log QtMsgType's ...
I would agree (after all we've been doing the same in KDE, it helps to
understand where a warning or error comes from). But for this to be possible,
we're back at the discussion of how to specify a category when calling qDebug
or qWarning, and I thought the conclusion was "no"...
In other words I like your idea, but there's no API to actually make it
possible...
--
David Faure | david.faure at kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
More information about the Development
mailing list