Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pallavi0703

macrumors newbie
Original poster
Dec 12, 2007
27
0
Hello All ,
I have build one carbon dll using Xcode 2.4 in release mode and calling it in one of my indesign plugin which is also build in release mode . I want to trace the variable values in my dll. Which function I should use to display values on to the console window.
I have tried with syslog(LOG_INFO,"text is %s",DataString);
But this is not working. Any other settings are necessary to view the log.
Please tell me which function I should use to display the log on the console window.

Thanks,
Pallavi.
 
Hello All ,
I have build one carbon dll using Xcode 2.4 in release mode and calling it in one of my indesign plugin which is also build in release mode . I want to trace the variable values in my dll. Which function I should use to display values on to the console window.
I have tried with syslog(LOG_INFO,"text is %s",DataString);
But this is not working. Any other settings are necessary to view the log.
Please tell me which function I should use to display the log on the console window.

Thanks,
Pallavi.

NSLog(...);

in order to format output you can do stuff like:

NSLog("a number is %d + %d", integerObject1, integerObject2);
NSLog("to print objective-c objects in general use %@", randomObjCObject);
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.