su 1.12.11devel
|
SU debugging macros. More...
#include <sofia-sip/su_log.h>
Go to the source code of this file.
Macros | |
#define | SU_DEBUG_H |
Defined when <sofia-sip/su_debug.h> has been included. | |
#define | SU_DEBUG_MAX |
The maximum debugging level. | |
#define | SU_DEBUG_0(x) |
Log messages at level 0. | |
#define | SU_LERROR(s) |
Log C library errors. | |
#define | SU_LSERROR(s) |
Log socket errors. | |
SU debugging macros.
The logging levels and macros to use are defined as follows:
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".
#define SU_DEBUG_0 | ( | x | ) |
Log messages at level 0.
Fatal errors and panic messages should be logged at level 0.