便捷log,debug与release模式互换

#ifdef DEBUG
#    define LOG(...) NSLog(@"%s %@", __PRETTY_FUNCTION__, [NSString stringWithFormat:__VA_ARGS__]) //类名 函数名
#else
#    define LOG   
#endif

原文地址:https://www.cnblogs.com/ligun123/p/2297473.html