Skip to content

Instantly share code, notes, and snippets.

@jacksonfdam
Forked from atnan/Debugging.h
Created May 24, 2012 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacksonfdam/2782083 to your computer and use it in GitHub Desktop.
Save jacksonfdam/2782083 to your computer and use it in GitHub Desktop.
# define ALog(format, ...) NSLog((@"%s [L%d] " format), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
# ifdef DEBUG
# define DLog(format, ...) ALog(format, ##__VA_ARGS__);
# else
# define DLog(...)
# endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment