34#if defined(SOCCFG_LOG) && (1 == SOCCFG_LOG)
36#elif defined(BRDCFG_LOG) && (1 == BRDCFG_LOG)
58int xwpf(
const char * fmt, ...)
64 char buf[XWLIBCFG_XWLOG_BUFSIZE];
67 i = vsnprintf(buf,
sizeof(buf), fmt, args);
75#if defined(SOCCFG_LOG) && (1 == SOCCFG_LOG)
82#elif defined(BRDCFG_LOG) && (1 == BRDCFG_LOG)
90# warning "Can't find the log configurations!"
#define ENOSYS
Function not implemented
int xwpf(const char *fmt,...)
格式化字符串并输出到日志,同 printf() 函数
xwer_t xwps(const char *str, xwsz_t size)
输出字符串
xwer_t board_log_write(const char *s, xwsz_t *n)
xwer_t soc_log_write(const char *s, xwsz_t *n)