Review Request 113181: Add KDebug porting notes to KDE5PORTING.html

Martin Klapetek martin.klapetek at gmail.com
Thu Oct 17 08:54:01 UTC 2013



> On Oct. 16, 2013, 9:02 p.m., Mark Gaiser wrote:
> > KDE5PORTING.html, lines 290-295
> > <http://git.reviewboard.kde.org/r/113181/diff/2/?file=201374#file201374line290>
> >
> >     This is not valid anymore. It should now be qC<debug/warning/notice/...> and with a category. I think it;s best to just link to the wiki page and skip the other information in this area.
> 
> Martin Klapetek wrote:
>     Not all kDebug's are with a category and sometimes you just want a plain simple debug...?
> 
> Mark Gaiser wrote:
>     qCDebug() is the same as qDebug() when you don't provide a category. Actually, a new change in the categorized logger even made qCDebug(CATEGORY) behave the same as qDebug() because debug data is now by default just printed. Only prefixed with the category. I think it's best to advice people to use qCDebug now so that it's trival to add a category later on when needed and that people get used to using it. Adding the category later on ould even be automated by a script :p

I'm still not sold to the idea that everything has to use qCDebug now, even (purposefully) uncategorized output.

Opinions from others?


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113181/#review41837
-----------------------------------------------------------


On Oct. 16, 2013, 7:45 a.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113181/
> -----------------------------------------------------------
> 
> (Updated Oct. 16, 2013, 7:45 a.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kdelibs
> 
> 
> Description
> -------
> 
> Adds part about KDebug
> 
> 
> Diffs
> -----
> 
>   KDE5PORTING.html acb408c 
> 
> Diff: http://git.reviewboard.kde.org/r/113181/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Klapetek
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131017/ab6d8a12/attachment.html>


More information about the Kde-frameworks-devel mailing list