writeToLog_ not working anymore?

I know that’s maybe a stupid question but I really didn’t find any information on the forum about that. :confused:

I have some ApplescriptObjC projects on Xcode I wrote a couple of years ago. At that time I used the function writeToLog_ to access to the log console and write messages for debug and other strings.
Now I opened those projects with the last version of Xcode and I’m seeing that this function (writeToLog_) doesn’t work anymore. Is it true or am I missing something? What I can use instead of that?

Thank you very very much in advance for help.


as far as I know there is no explicit function/method writeToLog in C/Objective-C.

try converting to log()?

On 10.7 and later, you can use:

 current application's NSLog(whatEver)