summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/drivers/drv_log.h
blob: b7c6537a2c8f4c1b89170b6f781e2ddd27a3c738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Email: [email protected]
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-10-23     zhangyan     first version
 *
 */

#ifndef LOG_TAG
    #define DBG_TAG               "drv"
#else
    #define DBG_TAG               LOG_TAG
#endif /* LOG_TAG */

#ifdef DRV_DEBUG
    #define DBG_LVL               DBG_LOG
#else
    #define DBG_LVL               DBG_ERROR
#endif /* DRV_DEBUG */

#include <rtdbg.h>