This module contains debug APIs declarations.
Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | M2M_DBG(...) |
#define | M2M_ERR(...) |
#define | M2M_ERR(...) do{CONF_WINC_PRINTF("(APP)(ERR)[%s][%d]",__FUNCTION__,__LINE__); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |
#define | M2M_INFO(...) |
#define | M2M_INFO(...) do{CONF_WINC_PRINTF("(APP)(INFO)"); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |
#define | M2M_LOG_DBG 4 |
#define | M2M_LOG_ERROR 1 |
#define | M2M_LOG_INFO 2 |
#define | M2M_LOG_LEVEL M2M_LOG_REQ |
#define | M2M_LOG_NONE 0 |
#define | M2M_LOG_REQ 3 |
#define | M2M_PRINT(...) |
#define | M2M_PRINT(...) do{CONF_WINC_PRINTF(__VA_ARGS__);}while(0) |
#define | M2M_REQ(...) |
#define | M2M_REQ(...) do{CONF_WINC_PRINTF("(APP)(R)"); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |