The logging levels and macros to use are defined as follows:
Module-specific logging requires redefining SU_LOG macro with a pointer to a su_log_t variable.
#include <sofia-sip/su_log.h>
Include dependency graph for su_debug.h:
Go to the source code of this file.
Defines | |
#define | SU_DEBUG_MAX |
The maximum debugging level. | |
#define | SU_DEBUG_0(x) |
Log critical errors, minimal progress at subsystem level. | |
#define | SU_LERROR(s) |
Log C library errors. | |
#define | SU_LSERROR(s) |
Log socket errors. | |
#define | SU_DEBUG_1(x) |
Log non-critical errors. | |
#define | SU_DEBUG_2(x) |
Log messages at level 2. | |
#define | SU_DEBUG_3(x) |
Log warnings, progress messages. | |
#define | SU_DEBUG_4(x) |
Log messages at level 4. | |
#define | SU_DEBUG_5(x) |
Log signaling protocol actions (incoming packets, etc. | |
#define | SU_DEBUG_6(x) |
Log messages at level 6. | |
#define | SU_DEBUG_7(x) |
Log media protocol actions (incoming packets, etc. | |
#define | SU_DEBUG_8(x) |
Log messages at level 8. | |
#define | SU_DEBUG_9(x) |
Log entering/exiting functions, very verbatim progress. |
#define SU_DEBUG_5 | ( | x | ) |
Log signaling protocol actions (incoming packets, etc.
).
#define SU_DEBUG_7 | ( | x | ) |
Log media protocol actions (incoming packets, etc.
).