Преглед на файлове

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 */