rt-thread-official/bsp/Infineon/libraries/HAL_Drivers/drv_log.h

28 lines
545 B
C
Raw Normal View History

/*
2022-07-05 16:59:20 +08:00
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-11-15 SummerGift first version
*/
/*
* NOTE: DO NOT include this file on the header file.
*/
#ifndef LOG_TAG
2022-07-27 15:41:25 +08:00
#define DBG_TAG "drv"
#else
2022-07-27 15:41:25 +08:00
#define DBG_TAG LOG_TAG
#endif /* LOG_TAG */
#ifdef DRV_DEBUG
2022-07-27 15:41:25 +08:00
#define DBG_LVL DBG_LOG
#else
2022-07-27 15:41:25 +08:00
#define DBG_LVL DBG_INFO
#endif /* DRV_DEBUG */
#include <rtdbg.h>