Skip to content

Commit

Permalink
Makes debug mode less verbose by treating TRACE_RESOURCES as a inte…
Browse files Browse the repository at this point in the history
…ger level. #397
  • Loading branch information
kzaher committed Jan 10, 2016
1 parent 1b26e9b commit 3b0c80d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions RxCocoa/Common/_RX.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
################################################################################
*/

#if TRACE_RESOURCES
#if TRACE_RESOURCES >= 2
# define DLOG(...) NSLog(__VA_ARGS__)
# define ABORT_IN_DEBUG abort();
#else
# define DLOG(...)
#endif

#if DEBUG
# define ABORT_IN_DEBUG abort();
#else
# define ABORT_IN_DEBUG
#endif

Expand Down

0 comments on commit 3b0c80d

Please sign in to comment.