Turning on NSLogs (original) (raw)
Pete Brunet peter.brunet at oracle.com
Wed Nov 30 10:01:37 PST 2011
- Previous message: hang in Lion
- Next message: Turning on NSLogs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: hang in Lion
- Next message: Turning on NSLogs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]