IOS应用发布NSLog的如何注释 #ifdef DEBUG // 调试状态, 打开LOG功能 #define HMLog(...) NSLog(__VA_ARGS__) #else // 发布状态, 关闭LOG功能 #define HMLog(...) #endif