pinebuds/services/nv_section/nv_section_dbg.h

46 lines
1.5 KiB
C

/**
* @file nv_section_dbg.h
* @author BES NV_SEC team
* @version 0.1
* @date 2020-04-22
*
* @copyright Copyright (c) 2015-2020 BES Technic.
* All rights reserved. All unpublished rights reserved.
*
* No part of this work may be used or reproduced in any form or by any
* means, or stored in a database or retrieval system, without prior written
* permission of BES.
*
* Use of this work is governed by a license granted by BES.
* This work contains confidential and proprietary information of
* BES. which is protected by copyright, trade secret,
* trademark and other intellectual property rights.
*/
#ifndef __NV_SECTION_DBG_H__
#define __NV_SECTION_DBG_H__
#ifdef __cplusplus
extern "C"{
#endif
/*****************************header include********************************/
#include "hal_trace.h"
/******************************macro defination*****************************/
#define LOG_V(str, ...) LOG_VERBOSE(LOG_MOD(NV_SEC), str, ##__VA_ARGS__)
#define LOG_D(str, ...) LOG_DEBUG(LOG_MOD(NV_SEC), str, ##__VA_ARGS__)
#define LOG_I(str, ...) LOG_INFO(LOG_MOD(NV_SEC), str, ##__VA_ARGS__)
#define LOG_W(str, ...) LOG_WARN(LOG_MOD(NV_SEC), str, ##__VA_ARGS__)
#define LOG_E(str, ...) LOG_ERROR(LOG_MOD(NV_SEC), str, ##__VA_ARGS__)
/******************************type defination******************************/
/****************************function declearation**************************/
#ifdef __cplusplus
}
#endif
#endif /* #ifndef __NV_SECTION_DBG_H__ */