Turning on NSLogs

Pete Brunet peter.brunet at oracle.com
Wed Nov 30 10:01:37 PST 2011


I'm seeing code like this

#ifdef JAVA_AX_DEBUG
    NSLog(@"%s: %@", __FUNCTION__, value);
#endif

What is the correct way to turn on a definition?

I'm also seeing NSLogs which are not bracketed with a define.  Does
NSLog always output to stdout or does it need a switch of some sort?

Thanks, Pete


More information about the macosx-port-dev mailing list