Hi.
After embedding JMC in my iPhone app, I noticed I couldn't see any log send from JMC.After a while , I realized I had not defined the Debug flag.
So , what 's the reason to define in JMCMacros
# ifdef DEBUG
# define JMCDLog(format, ...) JMCALog(format, ##__VA_ARGS__);
# else
# define JMCDLog(...)
# endif
instead of
#ifndef __OPTIMIZE__
# define JMCDLog(format, ...) JMCALog(format, ##__VA_ARGS__);
# else
# define JMCDLog(...)
# endif
?
By using predefined macro __OPTIMIZE__ ,you don't have to be worried or to know about to define an additional flag in your main project settings when embed the JMC SDK within your iOS app.
Cheers,