Why CCLog don't work at cocos2d-win32?

Why CCLog don’t work at cocos2d-win32? thanks!

#define COCOS2D_DEBUG 1

in the file you want to output log. You can also add COCOS2D_DEBUG into preprocessor marcos, but this way will output all logs of the engine

Oh, I find the “UserDefaultTest”.Thanks. But when I need to output message to a file,how can i do?

Oh, I see . That means you can use CCLog show the info when debug the android app . while under win32 or iOS debug . You didn’t need the CCLog function.:slight_smile:

http://support.microsoft.com/kb/58667