1 /** @defgroup ota_log_api
2  * @{
3  *
4  * This is an include file of OTA log interface.
5  *
6  * Copyright (C) 2015-2021 Alibaba Group Holding Limited
7  */
8 #ifndef OTA_LOG_H
9 #define OTA_LOG_H
10 #include <stdarg.h>
11 #include <stdio.h>
12 #include "ulog/ulog.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #define OTA_LOG_D(fmt, ...) LOGD("ota",fmt,##__VA_ARGS__)
19 #define OTA_LOG_I(fmt, ...) LOGI("ota",fmt,##__VA_ARGS__)
20 #define OTA_LOG_W(fmt, ...) LOGW("ota",fmt,##__VA_ARGS__)
21 #define OTA_LOG_E(fmt, ...) LOGE("ota",fmt,##__VA_ARGS__)
22 /**
23  * @}
24  */
25 #ifdef __cplusplus
26 }
27 #endif
28 #endif/*OTA_LOG_H*/
29