Created
December 18, 2015 05:45
-
-
Save dnnta/744aa9a7bf5f26560545 to your computer and use it in GitHub Desktop.
Log 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
#define _DD_MACRO_SELF_STR(macro) #macro | |
#define _DD_MACRO_TO_STR(macro) _DD_MACRO_SELF_STR(macro) | |
#define DD_LOG_MACRO(macro) NSLog(@"\n%s\n%s", #macro, _DD_MACRO_TO_STR(macro)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment