Enable or disable Ooyala debug logs. More...

#import <OODebugMode.h>

+ Inheritance diagram for OODebugMode:

Class Methods

(DebugMode) + getDebugMode
 gets current debug mode. More...
 
(void) + setDebugMode:
 sets the debug mode. More...
 
(void) + assert:tag:message:
 assert a certain condition More...
 
(void) + assertFalse:message:
 helper function to assert a false condition More...
 
(void) + log:message:
 log if the debug mode is not none, ignore otherwise More...
 

Detailed Description

Enable or disable Ooyala debug logs.

Method Documentation

+ (void) assert: (BOOL)  condition
tag: (NSString *)  tag
message: (NSString *)  format
,   ... 

assert a certain condition

Parameters
[in]conditionthe condition to test
[in]tagthe tag of the component
[in]formatof the message
+ (void) assertFalse: (NSString *)  tag
message: (NSString *)  format
,   ... 

helper function to assert a false condition

Parameters
[in]tagthe tag
[in]formatof the message
+ (DebugMode) getDebugMode

gets current debug mode.

Returns
debug mode
+ (void) log: (NSString *)  tag
message: (NSString *)  format
,   ... 

log if the debug mode is not none, ignore otherwise

Parameters
[in]tagthe tag
[in]formatof the message
+ (void) setDebugMode: (DebugMode)  mode

sets the debug mode.

Parameters
[in]modethe debug mode to be set

The documentation for this class was generated from the following file: