diff --git a/Common/ulog_api.h b/Common/ulog_api.h index f28ef563c..1d199e2e6 100755 --- a/Common/ulog_api.h +++ b/Common/ulog_api.h @@ -1,13 +1,17 @@ #ifndef _ULOG_API_H #define _ULOG_API_H +#include + +#include "common_types.h" + #define MAX_MODULE_NAME_SZ 16 typedef struct _ulog { char module_name[MAX_MODULE_NAME_SZ]; } ulog_t; -ulog_t *ulog_init(const char *module_name); +ulog_t *ulog_init(const char *module_name, u8 is_print); void ulog_close(ulog_t *log); void ulog_record(const ulog_t *log, int level, const char *fmt, ...);