1.调试模式打印,上线模式不打印 #ifdef DEBUG #define HMLog(...) NSLog(__VA_ARGS__) #else #define HMLog(...) #endif 2.