43 "",
"D",
"I",
"W",
"E"
110 const char *func,
int line_no,
const char *fmt, ...)
118 unsigned int task_id;
meshx_err_t
MeshX Error Codes.
void meshx_module_set_log_level(module_id_t module_id, meshx_log_level_t log_level)
Sets the logging level for a specified module.
meshx_err_t meshx_logging_init(const meshx_logging_t *config)
Initializes the MeshX logging system with the provided configuration.
static meshx_logging_t meshx_logging_ctrl
static meshx_log_level_t module_log_level[MODULE_ID_MAX]
static const char * log_lvl_str[MESHX_LOG_MAX]
void meshx_log_printf(module_id_t module_id, meshx_log_level_t log_level, const char *func, int line_no, const char *fmt,...)
Logs a formatted message for a specified module and log level.
Logging interface for MeshX with color-coded output.
#define MESHX_LOG_COLOR_RESET
#define MESHX_LOG_LEVEL_COLOR(level)
unsigned meshx_log_level_t
#define CONFIG_MESHX_DEFAULT_LOG_LEVEL
struct meshx_logging meshx_logging_t
#define CONFIG_MESHX_LOG_PRINTF
Macro to define printf function.
Utility functions for RTOS operations in the MeshX framework.
meshx_err_t meshx_rtos_get_sys_time(unsigned int *millis)
Retrieves the current system time in milliseconds.
meshx_err_t meshx_rtos_get_curr_task_id_prio(unsigned int *task_id)
Retrieves the current task ID.
Defines module IDs for different elements in the BLE mesh node application.
module_id_t
Enumeration of module IDs.