XFusion API v1.3.0
|
xf_utils_log 配置。 更多...
宏定义 | |
#define | XF_STDIO_IS_ENABLE (1) |
#define | XF_LOG_DUMP_IS_ENABLE (1) |
#define | xf_log_printf(format, ...) printf(format, ##__VA_ARGS__) |
#define | xf_log_dump_printf(format, ...) xf_log_printf(format, ##__VA_ARGS__) |
#define | xf_log_level(level, tag, format, ...) xf_log_printf("%c-%s[:%d(%s)]: "format"\n", #level[7], tag, __LINE__, __FUNCTION__, ##__VA_ARGS__) |
xf_utils_log 配置。
在文件 xf_utils_log_config.h 中定义.
#define XF_STDIO_IS_ENABLE (1) |
在文件 xf_utils_log_config.h 第 26 行定义.
#define XF_LOG_DUMP_IS_ENABLE (1) |
在文件 xf_utils_log_config.h 第 36 行定义.
#define xf_log_printf | ( | format, | |
... | |||
) | printf(format, ##__VA_ARGS__) |
#define xf_log_dump_printf | ( | format, | |
... | |||
) | xf_log_printf(format, ##__VA_ARGS__) |
在文件 xf_utils_log_config.h 第 56 行定义.
#define xf_log_level | ( | level, | |
tag, | |||
format, | |||
... | |||
) | xf_log_printf("%c-%s[:%d(%s)]: "format"\n", #level[7], tag, __LINE__, __FUNCTION__, ##__VA_ARGS__) |
在文件 xf_utils_log_config.h 第 61 行定义.