From: lottaviano Date: Thu, 4 Nov 2010 16:28:00 +0000 (+0000) Subject: First commit to cleanup log module documentation. X-Git-Tag: 2.6.0~5^2~19 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=983f074406bedb68909bf0439942e3b5dddc5579;p=bertos.git First commit to cleanup log module documentation. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4501 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/log.h b/bertos/cfg/log.h index a09de318..ff7ddc64 100644 --- a/bertos/cfg/log.h +++ b/bertos/cfg/log.h @@ -115,12 +115,13 @@ * for more detail). * * $WIZ$ 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 @@ -129,9 +130,11 @@ * function names and line number information to each log entry. * * $WIZ$ 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__)