|
Mbed OS Reference
|
Loading...
Searching...
No Matches
51#if MBED_CONF_MBED_TRACE_ENABLE
52#include "mbed_trace.h"
53#define TRACE_GROUP "ppp"
54#define PPP_DEBUGF(level, message) tr_info message
56#define PPP_DEBUGF(level, message) printf message
59#define PPP_DEBUGF(level, message)
62#define PPP_DBG_LEVEL_ALL 0x00
63#define PPP_DBG_LEVEL_WARNING 0x01
64#define PPP_DBG_LEVEL_SERIOUS 0x02
65#define PPP_DBG_LEVEL_SEVERE 0x03
68#define LOG_CRITICAL (PPP_DEBUG | PPP_DBG_LEVEL_SEVERE)
69#define LOG_ERR (PPP_DEBUG | PPP_DBG_LEVEL_SEVERE)
70#define LOG_NOTICE (PPP_DEBUG | PPP_DBG_LEVEL_WARNING)
71#define LOG_WARNING (PPP_DEBUG | PPP_DBG_LEVEL_WARNING)
72#define LOG_INFO (PPP_DEBUG)
73#define LOG_DETAIL (PPP_DEBUG)
74#define LOG_DEBUG (PPP_DEBUG)
78#define MAINDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
79#define SYSDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
80#define FSMDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
81#define LCPDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
82#define IPCPDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
83#define IPV6CPDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
84#define UPAPDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
85#define CHAPDEBUG(a) PPP_DEBUGF(PPP_DBG_LEVEL_WARNING, a)
86#define PPPDEBUG(a, b) PPP_DEBUGF(a, b)