- Update
This commit is contained in:
1 parent
d281d765ea
commit
5b074a5176
1261 files changed
+199158
-7303
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// DDAssert.h
|
||||
// CocoaLumberjack
|
||||
//
|
||||
// Created by Ernesto Rivera on 2014/07/07.
|
||||
//
|
||||
//
|
||||
|
||||
#import "DDLog.h"
|
||||
|
||||
#define DDAssert(condition, frmt, ...) if (!(condition)) { \
|
||||
NSString * description = [NSString stringWithFormat:frmt, ##__VA_ARGS__]; \
|
||||
DDLogError(@"%@", description); \
|
||||
NSAssert(NO, description); }
|
||||
#define DDAssertCondition(condition) DDAssert(condition, @"Condition not satisfied: %s", #condition)
|
||||
|
||||
Reference in new issue
Block a user