如果不需要log,把1 改成0
#if
1#define NSLog(FORMAT, ...) fprintf(stderr,"[%s:%d行]
%s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);#else
#define NSLog(FORMAT, ...) nil#endif