66#define print_verbose(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_VERBOSE, __func__, var_arg_list)
67#define print_error(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_ERROR, __func__, var_arg_list)
68#define print_info(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_INFO, __func__, var_arg_list)
69#define print_debug(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_DEBUG, __func__, var_arg_list)
71#define print_verbose_raw(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_VERBOSE, NULL, var_arg_list)
72#define print_error_raw(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_ERROR, NULL, var_arg_list)
73#define print_info_raw(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_INFO, NULL, var_arg_list)
74#define print_debug_raw(var_arg_list...) print_serial(thisModule, PRINT_LEVEL_DEBUG, NULL, var_arg_list)
Configuration header file.
logLevels_et
Levels of debug messages for printing.
Definition: lib_config.h:33
menusLibModule_et
An enum to represent Library modules.
Definition: lib_config.h:54
void print_enableLogs()
Enable logs.
void print_setLogLevel(menusLibModule_et module_e, logLevels_et logLevel_e)
Set the log level of a given library file.
void print_disableLogs()
Disable logs.
void print_serial(menusLibModule_et module_e, logLevels_et logLevel_e, const char *pFunNameStr, const char *pArgListStr,...)
Print the log message on serial terminal.
bool print_isLogsEnabled()
Check if logs are enabled.
void print_setDefaultLogLevel(uint8_t maxModules_u8, logLevels_et *pLogLevels_e)
Set the given log levels as default.