Created
August 31, 2014 14:07
-
-
Save pietrorea/fbd09d5496bd018f6354 to your computer and use it in GitHub Desktop.
debugLog preprocessor macro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add to Project-Prefix.pch | |
#ifdef DEBUG | |
#define debugLog(...) NSLog(__VA_ARGS__) | |
#else | |
#define debugLog(...) // Nothing | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment