Skip to content

Instantly share code, notes, and snippets.

@dmiedema
Created June 22, 2015 20:32
Show Gist options
  • Save dmiedema/6a2b938b554701f650d0 to your computer and use it in GitHub Desktop.
Save dmiedema/6a2b938b554701f650d0 to your computer and use it in GitHub Desktop.
#HashtagNSLogging
#define NSHashtagLog(format, ...) NSLog(@"hashtag%@", format, __VA_ARGS__);
int main(int argc, char * argv[]) {
@autoreleasepool {
NSHashtagLog(@"DefinitelyLaunched", nil);
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
/** Console **/
// 2015-06-22 13:30:00.673 app[19240:4809497] hashtagDefinitelyLaunched
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment