1 #define LOG(...) [OODebugMode log:[NSString stringWithUTF8String:__FILE__] message:__VA_ARGS__]; 2 #define ASSERT(condition, ...) [OODebugMode assert:condition tag:[NSString stringWithUTF8String:__FILE__] message:__VA_ARGS__]; 3 #define ASSERT_FALSE(...) [OODebugMode assertFalse:[NSString stringWithUTF8String:__FILE__] message:__VA_ARGS__]; 5 #import <Foundation/Foundation.h> 7 typedef NS_ENUM(NSInteger, DebugMode) {
29 + (void)setDebugMode:(DebugMode)mode;
37 + (void)assert:(BOOL)condition tag:(NSString *)tag message:(NSString *)format, ...;
44 + (void)assertFalse:(NSString *)tag message:(NSString *)format, ...;
51 + (void)log:(NSString *)tag message:(NSString *)format, ...;
DebugMode getDebugMode()
gets current debug mode.
Enable or disable Ooyala debug logs.
Definition: OODebugMode.h:17