Breaking News
Home / iOS / iOS FAQ / What does the macro CCLOG do?

What does the macro CCLOG do?

Answer

The CCLOG macro wraps Apple’s NSLog method so that CCLOG is only compiled in debug builds, but omitted in release builds. So its recommended to use CCLOG in place of NSLog because using NSLOG in your release build can slow down your published application, but doing this you still see the logs in debug build yet they would get not included in release builds thus saving time and effort if we try to comment out the NSLog from release builds.

 [pb_builder]

Check Also

How to remove an app from Sale in Appstore?

Solution In order to remove you app from SALE, you would have to log into …

Advertisment ad adsense adlogger