Return to Snippet

Revision: 4361
at December 1, 2007 19:28 by zingo


Initial Code
#ifdef VERBOSE_DEBUG_OUTPUT
	#warning Debugging output enabled
	#define NSDebug(x, ...) NSLog([ NSString stringWithFormat:@"%s: %@", __PRETTY_FUNCTION__, x], ## __VA_ARGS__ )
#else
	#define NSDebug(x, ...) /* x, ## __VA_ARGS__ */
#endif

Initial URL


Initial Description


Initial Title
Macro for VERBOSE_DEBUG_OUTPUT

Initial Tags
osx

Initial Language
Objective C