Skip to content

Instantly share code, notes, and snippets.

@sthorne
Created February 20, 2015 23:12
Show Gist options
  • Save sthorne/9894c6394f042b6e736e to your computer and use it in GitHub Desktop.
Save sthorne/9894c6394f042b6e736e to your computer and use it in GitHub Desktop.
Objective-C Pretty Function and Line Logging
NSLog(@"%s [Line %d] %@", __PRETTY_FUNCTION__, __LINE__, data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment