首页 > 代码库 > [cocos2dx enhancement] CCPlatformMacros.h

[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__)

 

[cocos2dx enhancement] CCPlatformMacros.h