现在知道去哪找介绍文档的文字了。本头文件的主要作用就是定义SU模块的调试宏。
/**@ingroup su_log
* @file sofia-sip/su_debug.h
* @brief SU debugging macros
*
* The logging levels and macros to use are defined as follows:
* - SU_DEBUG_0() fatal errors, panic
* - SU_DEBUG_1() critical errors, minimal progress at subsystem level
* - SU_DEBUG_2() non-critical errors
* - SU_DEBUG_3() warnings, progress messages
* - SU_DEBUG_5() signaling protocol actions (incoming packets, etc.)
* - SU_DEBUG_7() media protocol actions (incoming packets, etc.)
* - SU_DEBUG_9() entering/exiting functions, very verbatim progress
*
* These macros are used to log with module-specific levels. The SU_LOG
* macro is redefined with a pointer to a module-specific #su_log_t
* structure, e.g., "iptsec_debug.h".
*
* @author Pekka Pessi <Pekka.Pessi@nokia.com>
*
* @date Created: Tue Feb 8 10:06:33 2000 ppessi
*
* @sa @ref debug_logs, su_llog(), su_vllog(), #su_log_t,
*/
Sofia-SIP源码su模块调试宏分析

最低0.47元/天 解锁文章
1162

被折叠的 条评论
为什么被折叠?



