forked from auracaster/openocd
Pavel Chromy: fix logging syntax error + formatting & removing obsolete comments.
git-svn-id: svn://svn.berlios.de/openocd/trunk@702 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -80,7 +80,7 @@ extern int debug_level;
|
||||
|
||||
|
||||
#define LOG_DEBUG(expr ...) \
|
||||
if (debug_level >= LOG_LVL_DEBUG) { log_printf_lf (LOG_LVL_DEBUG, __FILE__, __LINE__, __FUNCTION__, expr); }
|
||||
((debug_level >= LOG_LVL_DEBUG) ? log_printf_lf (LOG_LVL_DEBUG, __FILE__, __LINE__, __FUNCTION__, expr) , 0 : 0)
|
||||
|
||||
#define LOG_INFO(expr ...) \
|
||||
log_printf_lf (LOG_LVL_INFO, __FILE__, __LINE__, __FUNCTION__, expr)
|
||||
|
||||
Reference in New Issue
Block a user