#ifdef DEBUG
#define DMString [NSString stringWithFormat:@"%s", __FILE__].lastPathComponent
#define NSLog(...) printf("%s第%d行: %s\n\n", [DMString UTF8String] ,__LINE__, [[NSString stringWithFormat:__VA_ARGS__] UTF8String]);
#else
#define NSLog(...)
#endif
iOS打印输出
最新推荐文章于 2020-07-31 22:16:58 发布