how to read cout/debug iphone traces, while testing on the device

Hi guys,

What’s the proper way to read console logs (like messages generated from std::cout) while running your app on an iphone ?

Is there some commands for this, when you ssh on the phone ?

I asked the question more precisely there:

How to do NSLog in cocos2d-x ?

Isn’t this a bug actually ? how do you guys do traces on the device ?