#ifdef DEBUG #define NSLog(format, ...) printf(" [%s] %s [第%d行] %s ", __TIME__, __FUNCTION__, __LINE__, [[NSString stringWithFormat:format, ## __VA_ARGS__] UTF8String]); #else #define NSLog(format, ...) #endif
#ifdef DEBUG #define NSLog(format, ...) printf(" [%s] %s [第%d行] %s ", __TIME__, __FUNCTION__, __LINE__, [[NSString stringWithFormat:format, ## __VA_ARGS__] UTF8String]); #else #define NSLog(format, ...) #endif