iphone Programming Glossary: lvl
What logging solutions to use while log-debugging objective-C code? http://stackoverflow.com/questions/7294215/what-logging-solutions-to-use-while-log-debugging-objective-c-code #undef ENLOGGING_LEVEL_INFO #undef ENLOGGING_LEVEL_ERROR #endif Logging format #define ENLOG_FORMAT_NO_LOCATION fmt lvl ... NSLog @ @ fmt lvl ##__VA_ARGS__ #define ENLOG_FORMAT_WITH_LOCATION fmt lvl ... NSLog @ s Line d @ fmt __PRETTY_FUNCTION__.. #undef ENLOGGING_LEVEL_ERROR #endif Logging format #define ENLOG_FORMAT_NO_LOCATION fmt lvl ... NSLog @ @ fmt lvl ##__VA_ARGS__ #define ENLOG_FORMAT_WITH_LOCATION fmt lvl ... NSLog @ s Line d @ fmt __PRETTY_FUNCTION__ __LINE__ lvl ##__VA_ARGS__.. #define ENLOG_FORMAT_NO_LOCATION fmt lvl ... NSLog @ @ fmt lvl ##__VA_ARGS__ #define ENLOG_FORMAT_WITH_LOCATION fmt lvl ... NSLog @ s Line d @ fmt __PRETTY_FUNCTION__ __LINE__ lvl ##__VA_ARGS__ #if defined ENLOGGING_INCLUDE_CODE_LOCATION ENLOGGING_INCLUDE_CODE_LOCATION..
|