This commit is contained in:
giuseppenuc committed 2016-02-24 16:56:39 +01:00
1 parent d281d765ea
commit 5b074a5176
1261 files changed
+199158 -7303

No files matched your search

+16
View File
@@ -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)