Used Cocos2d-x macros for logging