X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Flog.h;h=08bd55e84871f95a03fae1dd7ca379386e307bf5;hb=85f74ac66b7cabcc9cb9a7dde7c189e94f785dff;hp=2cfa4ef24b31e266655a5eb00ba6f11c6a89cbcb;hpb=515886be3106584a6d695d4b5453730121b91f74;p=bertos.git diff --git a/bertos/cfg/log.h b/bertos/cfg/log.h index 2cfa4ef2..08bd55e8 100644 --- a/bertos/cfg/log.h +++ b/bertos/cfg/log.h @@ -111,7 +111,7 @@ * also which print function are linked. * If you choose a low level of log you link all log function (error, warning and info), * but if choose a hight level you link only that have the priority egual or hight. - * The priority level go from error (most hight) to info (most low) (see cfg/debug.h + * The priority level go from error (highest) to info (lowest) (see cfg/debug.h * for more detail). * \{ */ @@ -132,11 +132,8 @@ #define LOG_FMT_TERSE 0 /* \} */ -#define LOG_SILENT LOG_FMT_TERSE /* OBSOLETE */ -#define LOG_VERBOSE LOG_FMT_VERBOSE /* OBSOLETE */ - #if LOG_FORMAT == LOG_FMT_VERBOSE - #define LOG_PRINT(str_level, str,...) kprintf("%s():%d:%s: " str, str_level, __func__, __LINE__, ## __VA_ARGS__) + #define LOG_PRINT(str_level, str,...) kprintf("%s():%d:%s: " str, __func__, __LINE__, str_level, ## __VA_ARGS__) #elif LOG_FORMAT == LOG_FMT_TERSE #define LOG_PRINT(str_level, str,...) kprintf("%s: " str, str_level, ## __VA_ARGS__) #else