删除 输出时候附加的时间戳等..

#if DEBUG

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

#else

#define NSLog(FORMAT, ...) nil

#endif

原文地址:https://www.cnblogs.com/hz-1521049517/p/5113452.html