discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add DLog to NSObject.h


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__);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]