Added default settings for DBG_MIN_LEVEL and definitions for the possible

levels.
This commit is contained in:
davidhaas 2003-03-17 16:59:22 +00:00
parent 45c13ad08f
commit 2673568cfd
2 changed files with 12 additions and 3 deletions

View File

@ -40,6 +40,11 @@
* - 2 serious * - 2 serious
* - 3 severe * - 3 severe
*/ */
#define DBG_LEVEL_OFF 0
#define DBG_LEVEL_WARNING 1
#define DBG_LEVEL_SERIOUS 2
#define DBG_LEVEL_SEVERE 3
#define DBG_MASK_LEVEL 3 #define DBG_MASK_LEVEL 3
/** flag for DEBUGF to enable the debug message */ /** flag for DEBUGF to enable the debug message */

View File

@ -430,6 +430,10 @@ a lot of data that needs to be copied, this should be set high. */
#endif #endif
#ifndef DBG_MIN_LEVEL
#define DBG_MIN_LEVEL DBG_LEVEL_OFF
#endif
#endif /* __LWIP_OPT_H__ */ #endif /* __LWIP_OPT_H__ */