Motr
M0
|
Macros | |
#define | crlog(level, ...) cr_log_ex(level, LOG_PREFIX, "\n", __VA_ARGS__) |
Enumerations | |
enum | cr_log_level { CLL_ERROR = 0, CLL_WARN = 1, CLL_INFO = 2, CLL_TRACE = 3, CLL_DEBUG = 4, CLL_SAME = -1 } |
Functions | |
void | cr_log (enum cr_log_level lev, const char *fmt,...) __attribute__((format(printf |
void void | cr_log_ex (enum cr_log_level lev, const char *pre, const char *post, const char *fmt,...) __attribute__((format(printf |
void void void | cr_vlog (enum cr_log_level lev, const char *fmt, va_list args) |
void | cr_set_debug_level (enum cr_log_level level) |
#define crlog | ( | level, | |
... | |||
) | cr_log_ex(level, LOG_PREFIX, "\n", __VA_ARGS__) |
enum cr_log_level |
void cr_log | ( | enum cr_log_level | lev, |
const char * | fmt, | ||
... | |||
) |
void void cr_log_ex | ( | enum cr_log_level | lev, |
const char * | pre, | ||
const char * | post, | ||
const char * | fmt, | ||
... | |||
) |
void cr_set_debug_level | ( | enum cr_log_level | level | ) |
void void void cr_vlog | ( | enum cr_log_level | lev, |
const char * | fmt, | ||
va_list | args | ||
) |