From: asterix Date: Thu, 5 Feb 2009 11:50:00 +0000 (+0000) Subject: Fix comment and add info for wizard. X-Git-Tag: 2.1.0~415 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=12ea7ad4a8eb2460e638367d256125c4535bd9b8;p=bertos.git Fix comment and add info for wizard. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2267 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/log.h b/bertos/cfg/log.h index 08bd55e8..444c1d73 100644 --- a/bertos/cfg/log.h +++ b/bertos/cfg/log.h @@ -113,24 +113,28 @@ * but if choose a hight level you link only that have the priority egual or hight. * The priority level go from error (highest) to info (lowest) (see cfg/debug.h * for more detail). - * \{ + * + * $WIZARD_LIST = { + * "log_level" : ["LOG_LVL_NONE", "LOG_LVL_ERR", "LOG_LVL_WARN", "LOG_LVL_INFO"] + * } */ #define LOG_LVL_NONE 0 #define LOG_LVL_ERR 1 #define LOG_LVL_WARN 2 #define LOG_LVL_INFO 3 -/* \} */ /** * \name Logging format * * There are two logging format: terse and verbose. The latter prepends * function names and line number information to each log entry. - * \{ + * + * $WIZARD_LIST = { + * "log_format" : ["LOG_FMT_VERBOSE", "LOG_FMT_TERSE"] + * } */ #define LOG_FMT_VERBOSE 1 #define LOG_FMT_TERSE 0 -/* \} */ #if LOG_FORMAT == LOG_FMT_VERBOSE #define LOG_PRINT(str_level, str,...) kprintf("%s():%d:%s: " str, __func__, __LINE__, str_level, ## __VA_ARGS__)