X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_kfile.h;h=bc6ff25f6c65717372fb45f33e3b43688e29b5bd;hb=0e9db20f6fb7f4ec21edaae6c9270317ee5dcfd9;hp=6dad0a0ce7bad59f5eb28551fba67573840cc32d;hpb=c22fe24a0da896a52dbc3882390ec18a440ef56a;p=bertos.git diff --git a/bertos/cfg/cfg_kfile.h b/bertos/cfg/cfg_kfile.h index 6dad0a0c..bc6ff25f 100644 --- a/bertos/cfg/cfg_kfile.h +++ b/bertos/cfg/cfg_kfile.h @@ -40,8 +40,24 @@ #ifndef CFG_KFILE_H #define CFG_KFILE_H -/// TODO: -#define CONFIG_KFILE_GETS 1 +/** + * Logging level definition. + * + * Use 0 to log only the error messages + * Use 1 to log the error and warning messages + * Use 2 to log all messages + */ +#define KFILE_LOG_LEVEL 2 + +/** + * Set logging verbosity. + * + * If verbosity is zero print short log messages. + */ +#define KFILE_LOG_VERBOSITY 0 + +/// Enable the gets function with echo. +#define CONFIG_KFILE_GETS 0 #endif /* CFG_KFILE_H */