Created
November 18, 2010 13:00
-
-
Save veritech/704938 to your computer and use it in GitHub Desktop.
DebugLog
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
#ifdef 1 | |
#define DebugLog( s, ... ) NSLog( @"<%p %@:(%d)> %@", self, [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__] ) | |
#else | |
#define DebugLog( s, ... ) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment