Possible Duplicate:
Is it true that one should not use NSLog() on production code?
Do I need to disable NSLog before release Application?
I need to remove all the NSLOGs which are present in my project during the Release build. I have tried using the below code , but still accessing the build via phone, still NSLOG shows up in the console.
#ifdef DEBUG
#define debug_NSLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else
#define debug_NSLog(format, ...)
#endif