ios - Using DebugLog() instead of NSLog() -


i want use debuglog() print values instead of nslog(). believe debuglog() more efficient. not able use in project(doesn't appear in prompt). believe have set in build settings that. have idea this?

thanks.

debuglog() not supported method in objetice-c, if want implement yourself, this:

#ifdef debug #define debuglog(s, ...) nslog(s, ##__va_args__) #else #define debuglog(s, ...) #endif 

taken here:

debuglog format string not string literal


Comments