Skip to content

Commit

Permalink
Do not log if DEBUG != 1
Browse files Browse the repository at this point in the history
We might define DEBUG to be 0, to disable it. This explicitly requires that DEBUG be defined and 1.
  • Loading branch information
streeter committed Aug 5, 2014
1 parent 2e934fb commit b59e114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RMStore/RMStore.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
NSString* const RMStoreNotificationStoreReceipt = @"storeReceipt";
NSString* const RMStoreNotificationTransaction = @"transaction";

#ifdef DEBUG
#if defined(DEBUG) && DEBUG
#define RMStoreLog(...) NSLog(@"RMStore: %@", [NSString stringWithFormat:__VA_ARGS__]);
#else
#define RMStoreLog(...)
Expand Down

0 comments on commit b59e114

Please sign in to comment.