Debug logs
To enable debug logs in iOS application, add the following code in project PCH file.
#if defined (DEBUGLOG)
    #define DebugLog( s, ... ) NSLog( @"%@",  [NSString stringWithFormat:(s), ##__VA_ARGS__] )
#else
    #define DebugLog( s, ... )
#endif
 
Comments
Post a Comment