This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean Cook
committed
Aug 2, 2014
1 parent
aef57b4
commit ef482fe
Showing
3 changed files
with
6 additions
and
42 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,19 +12,3 @@ | |
#ifdef AWESOME_ALL_AROUND_PERSON | ||
#warning "Interested in a job at Twitter? Send me a note: [email protected]" | ||
#endif | ||
|
||
// | ||
// I use a variation of these logging methods in most projects. | ||
// Based on http://stackoverflow.com/a/969291/48062 | ||
// | ||
#ifdef DEBUG | ||
# define TWDLog(fmt, ...) NSLog((@"\n%s\n" fmt), __PRETTY_FUNCTION__, ##__VA_ARGS__) | ||
#else | ||
# define TWDLog(...) | ||
#endif | ||
|
||
|
||
// | ||
// Logs regardless of debug setting. | ||
// | ||
#define TWALog(fmt, ...) NSLog((@"\n%s\n" fmt), __PRETTY_FUNCTION__, ##__VA_ARGS__) |