Skip to content

Instantly share code, notes, and snippets.

@sumardi
Created February 4, 2012 20:05
Show Gist options
  • Select an option

  • Save sumardi/1739797 to your computer and use it in GitHub Desktop.

Select an option

Save sumardi/1739797 to your computer and use it in GitHub Desktop.
iPhoneDev - WMLog()
#ifdef DEBUG
# define WMLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
# define WMLog(...)
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment