Possible Duplicate:
Different code / config in Release & Debug build (Obj-C)
Is there a way to find whether application is running in release or debug mode in objetive-c?
Possible Duplicate:
Different code / config in Release & Debug build (Obj-C)
Is there a way to find whether application is running in release or debug mode in objetive-c?
http://jomnius.blogspot.com/2011/09/how-to-do-dynamic-debug-logging-in.html This seems to be leading me to right direction.