Created
July 11, 2012 13:46
-
-
Save samdmarshall/3090442 to your computer and use it in GitHub Desktop.
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
#if defined(CONFIGURATION_Debug) | |
#define NSLog( s, ... ) NSLog(@"[%p %@:(%d)] %@ %@", self, [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithUTF8String:__PRETTY_FUNCTION__], [NSString stringWithFormat:(s), ##__VA_ARGS__]) | |
#else | |
#define NSLog( s, ... ) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment