1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2018-11-19     MurphyZhao   the first version
9  */
10 
11 #ifndef __UTEST_LOG_H__
12 #define __UTEST_LOG_H__
13 
14 #include <rtthread.h>
15 
16 // #define UTEST_DEBUG
17 
18 #undef DBG_TAG
19 #undef DBG_LVL
20 
21 #define DBG_TAG              "utest"
22 #ifdef UTEST_DEBUG
23 #define DBG_LVL              DBG_LOG
24 #else
25 #define DBG_LVL              DBG_INFO
26 #endif
27 #include <rtdbg.h>
28 
29 #define UTEST_LOG_ALL    (1u)
30 #define UTEST_LOG_ASSERT (2u)
31 
32 void utest_log_lv_set(rt_uint8_t lv);
33 
34 #endif /* __UTEST_LOG_H__ */
35