Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to direct printf output to the same target as NSLog? [duplicate]

How can i make the output of printf appear in the Xcode Organizer console view? While debugging on a connected device i can see printf output right among NSLog output in th debug console in Xcode, but i can see only NSLog output on the Organizer console.

I'm developing in Objective-C++ and use printf for logging pure c++ code. Ultimately i wish to have this output from the app available from the time the device has been disconnected.

like image 895
Matti Jokipii Avatar asked Jan 17 '13 19:01

Matti Jokipii


1 Answers

There is description how to achieve it. It looks like there is no another ability to direct printf to Organizer.

like image 184
Rostyslav Druzhchenko Avatar answered Sep 21 '22 02:09

Rostyslav Druzhchenko