Create a gist now

Instantly share code, notes, and snippets.

# 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