NSLog重写,日志

#define NSLog(format, ...) printf("func:%s: %s --------------------- ", __PRETTY_FUNCTION__, [[NSString stringWithFormat:format, ## __VA_ARGS__] UTF8String]);

原文地址:https://www.cnblogs.com/ldc529/p/6038922.html