log_error
static inline void log_error(char *buf, unsigned int err_type, int fatal)
#define log_error(ls, fmt, args...) \
static void log_error(const char *format, ...)