[cocos2dx enhancement] CCPlatformMacros.h

为了更好的调试Log,优化CCLOG格式

path: cocos2dx/platform/CCPlatformMacros.h

 

line 218:

#define CCLOGERROR(format,...)  cocos2d::CCLog("[error]"format, ##__VA_ARGS__)

 

line 224:

#define CCLOGERROR(format,...)  cocos2d::CCLog("[error]"format, ##__VA_ARGS__)
#define CCLOGINFO(format,...)   cocos2d::CCLog("[info]"format, ##__VA_ARGS__)

 

posted @ 2014-11-27 10:47  StanHome  阅读(476)  评论(0编辑  收藏  举报