OC-如何隐藏NSLog打印的自带信息

#ifdef DEBUG

#define NSLog(FORMAT, ...) fprintf(stderr,"%s ",[[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);

#else

#define NSLog(...)

#endif

原文地址:https://www.cnblogs.com/GJ-ios/p/5308678.html