houhuohuo

#ifdef DEBUG

 

#define NSLog(FORMAT, ...) fprintf(stderr, "%s:%zd\t%s\n", [[[NSString stringWithUTF8String: __FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat: FORMAT, ## __VA_ARGS__] UTF8String]);

 

#else

 

#define NSLog(FORMAT, ...) nil

 

#endif

分类:

技术点:

相关文章:

  • 2021-09-16
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-12-31
猜你喜欢
  • 2021-12-31
  • 2021-09-29
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
相关资源
相似解决方案