Skip to content

Instantly share code, notes, and snippets.

@akio0911
Created May 13, 2009 03:55
Show Gist options
  • Save akio0911/110870 to your computer and use it in GitHub Desktop.
Save akio0911/110870 to your computer and use it in GitHub Desktop.
#ifdef DEBUG
# define TRACE(fmt, ...) NSLog((@"%s(%d) " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
# define TRACE(...)
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment