美文网首页
NSLog打印不完整

NSLog打印不完整

作者: MdWhat | 来源:发表于2018-06-05 16:17 被阅读15次

可以拿这个打印试试

#define SLog(format, ...) printf("class: <%p %s:(%d) > method: %s \n%s\n", self, [[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, __PRETTY_FUNCTION__, [[NSString stringWithFormat:(format), ##__VA_ARGS__] UTF8String] )

相关文章

网友评论

      本文标题:NSLog打印不完整

      本文链接:https://www.haomeiwen.com/subject/qsqmsftx.html