控制台日志打印不全问题

最近在控制台查看日志,竟然没显示全、、、、、、
解决办法:

#ifdef DEBUG

#define LHLog( s, ... ) printf("%s\n",  [[NSString stringWithFormat:(s), ##__VA_ARGS__] UTF8String] )

#else

#define LHLog( s, ... )

#endif

猜你喜欢

转载自blog.csdn.net/u013983033/article/details/84877629