|
From: | Amr Aboelela |
Subject: | Add DLog to NSObject.h |
Date: | Tue, 3 Mar 2015 19:15:48 -0800 |
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__);
[Prev in Thread] | Current Thread | [Next in Thread] |