|
| void | log_msg_pool_init (void) |
| | Function for initialization of the log message pool. More...
|
| |
| void | log_msg_get (struct log_msg *msg) |
| | Function for indicating that message is in use. More...
|
| |
| void | log_msg_put (struct log_msg *msg) |
| | Function for indicating that message is no longer in use. More...
|
| |
| static uint32_t | log_msg_domain_id_get (struct log_msg *msg) |
| | Get domain ID of the message. More...
|
| |
| static uint32_t | log_msg_source_id_get (struct log_msg *msg) |
| | Get source ID (module or instance) of the message. More...
|
| |
| static uint32_t | log_msg_level_get (struct log_msg *msg) |
| | Get severity level of the message. More...
|
| |
| static uint32_t | log_msg_timestamp_get (struct log_msg *msg) |
| | Get timestamp of the message. More...
|
| |
| static bool | log_msg_is_std (struct log_msg *msg) |
| | Check if message is of standard type. More...
|
| |
| uint32_t | log_msg_nargs_get (struct log_msg *msg) |
| | Returns number of arguments in standard log message. More...
|
| |
| log_arg_t | log_msg_arg_get (struct log_msg *msg, uint32_t arg_idx) |
| | Gets argument from standard log message. More...
|
| |
| const char * | log_msg_str_get (struct log_msg *msg) |
| | Gets pointer to the unformatted string from standard log message. More...
|
| |
| struct log_msg * | log_msg_hexdump_create (const char *str, const uint8_t *data, uint32_t length) |
| | Allocates chunks for hexdump message and copies the data. More...
|
| |
| void | log_msg_hexdump_data_put (struct log_msg *msg, uint8_t *data, size_t *length, size_t offset) |
| | Put data into hexdump log message. More...
|
| |
| void | log_msg_hexdump_data_get (struct log_msg *msg, uint8_t *data, size_t *length, size_t offset) |
| | Get data from hexdump log message. More...
|
| |
| union log_msg_chunk * | log_msg_no_space_handle (void) |
| |
| union log_msg_chunk * | log_msg_chunk_alloc (void) |
| | Allocate single chunk from the pool. More...
|
| |
| static struct log_msg * | log_msg_create_0 (const char *str) |
| | Create standard log message with no arguments. More...
|
| |
| static struct log_msg * | log_msg_create_1 (const char *str, log_arg_t arg1) |
| | Create standard log message with one argument. More...
|
| |
| static struct log_msg * | log_msg_create_2 (const char *str, log_arg_t arg1, log_arg_t arg2) |
| | Create standard log message with two arguments. More...
|
| |
| static struct log_msg * | log_msg_create_3 (const char *str, log_arg_t arg1, log_arg_t arg2, log_arg_t arg3) |
| | Create standard log message with three arguments. More...
|
| |
| struct log_msg * | log_msg_create_n (const char *str, log_arg_t *args, uint32_t nargs) |
| | Create standard log message with variable number of arguments. More...
|
| |
| uint32_t | log_msg_mem_get_free (void) |
| | Get number of free blocks from the log mem pool. More...
|
| |
| uint32_t | log_msg_mem_get_used (void) |
| | Get number of used blocks from the log mem pool. More...
|
| |
| uint32_t | log_msg_mem_get_max_used (void) |
| | Get max used blocks from the log mem pool. More...
|
| |