소스 검색

ATV pch: add debug log macro

Felix Paul Kühne 9 년 전
부모
커밋
d8ba1f9b91
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      VLC for Apple TV/TVPrefixHeader.pch

+ 6 - 0
VLC for Apple TV/TVPrefixHeader.pch

@@ -23,4 +23,10 @@
 #import "UIColor+Presets.h"
 #import "VLCTVConstants.h"
 
+#ifndef NDEBUG
+#define APLog(format, ...) NSLog(format, ## __VA_ARGS__)
+#else
+#define APLog(format, ...)
+#endif
+
 #endif /* PrefixHeader_pch */