KMessage/KMessageHandler: a core/ui seperation for displaying message.
Michaël Larouche
michael.larouche at kdemail.net
Mon May 29 02:40:45 BST 2006
Le May 28, 2006 17:20, Thiago Macieira a écrit :
> Michaël Larouche wrote:
> >Exactly, you can use Debug type to use your own debug methods if you
> > don't like kDebug().
>
> Don't do that. If anybody wants a debug message, he has to use kDebug()
> (never printf, never qDebug, never any other method that could output
> text without going through kDebug in the end).
>
> Debugging output has to be disabled at compilation time if -DNDEBUG has
> been specified. It should expand to a code-path that never gets executed,
> so that the compiler can optimise the whole thing out. And if -DNDEBUG
> has not been specified, then the debugging output has to be done via
> kDebug so that one can enable/disable easily with kdebugdialog.
I agree. Will be removed.
--
Michaël Larouche
KDE developer working on Kopete, Kamefu, Solid...on dial-up :P
--------------------------------------
Website: http://www.tehbisnatch.org/
MSN/Email: michael.larouche at kdemail.net
IRC: irc.freenode.org/DarkShock on #kopete,#solid,#kamefu,#plasma
Jabber: darkshock at myjabber.net
More information about the kde-core-devel
mailing list