| 1 | // Define this, if you use TestFairy on iOS, |
| 2 | // to send NSLog (all logs from our Objective-C code) to TestFairy. |
| 3 | // See https://docs.testfairy.com/SDK/Remote_Logging.html#ios . |
| 4 | // #define SEND_NSLOG_TO_TEST_FAIRY |
| 5 | |
| 6 | #ifdef SEND_NSLOG_TO_TEST_FAIRY |
| 7 | #import "TestFairy.h" |
| 8 | #define NSLog(s, ...) do { NSLog(s, ##__VA_ARGS__); TFLog(s, ##__VA_ARGS__); } while (0) |
| 9 | #endif |