Hi,

Can we add DLog to NSObject.h it is becoming standard now for developers to
use DLog, even though it is not included by default in Apple's NSObject.h,
it would be nice if we add it in the GNUstep environment.

Here are the definition lines:


#ifdef DEBUG

#   define DLog(fmt, ...) NSLog((@"%s%d " fmt), __PRETTY_FUNCTION__,
__LINE__, ##__VA_ARGS__);

#else

#   define DLog(...)

#endif


#define ALog(fmt, ...) NSLog((@"%s%d " fmt), __PRETTY_FUNCTION__, __LINE__,
##__VA_ARGS__);
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to