¡@

Home 

2014/10/15 ¤U¤È 10:08:16

iphone Programming Glossary: enlogging_level_debug

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

Hope it helps. There are three levels of logging debug info and error and each can be enabled independently via the ENLOGGING_LEVEL_DEBUG ENLOGGING_LEVEL_INFO and ENLOGGING_LEVEL_ERROR switches below respectively. In addition ALL logging can be enabled or disabled.. switch below. To perform logging use any of the following function calls in your code ENDebug fmt will print if ENLOGGING_LEVEL_DEBUG is set on. ENInfo fmt will print if ENLOGGING_LEVEL_INFO is set on. ENHeading fmt will print if ENLOGGING_LEVEL_INFO is.. #define ENLOGGING_ENABLED 1 Set any or all of these switches to enable or disable logging at specific levels. #define ENLOGGING_LEVEL_DEBUG 1 #define ENLOGGING_LEVEL_INFO 1 #define ENLOGGING_LEVEL_ERROR 1 Set this switch to set whether or not to include class..