[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [path] litte kDebug extension
From:       Thomas Zander <Thomas.Zander () trolltech ! com>
Date:       2007-09-13 14:45:41
Message-ID: 200709131645.41376.Thomas.Zander () trolltech ! com
[Download RAW message or body]


On Wednesday 12 September 2007 21:36:43 Ralf Habacker wrote:
> The use case for this functionality makes sense for KDE apps which uses
> simply kDebug() and friend with the default area. (I have found this in
> umbrello).

This doesn't scale well for bigger applications that have various debug areas. 
As you are proposing an incompatible workflow that also breaks expectations 
of people just wanting to print some debug in other peoples apps.

I suggest you have a 
#define MY_APP_DEBUG 1234
#define OTHER_DEBUG 5678

and use kdebug(MY_APP_DEBUG) << foo;  like calls in your code if you want to 
make sure that is printed in its own debug area.

-- 
Thomas Zander

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic