|
void | log_core_init (void) |
| Function system initialization of the logger. More...
|
|
void | log_init (void) |
| Function for user initialization of the logger. More...
|
|
void | log_thread_set (k_tid_t process_tid) |
| Function for providing thread which is processing logs. More...
|
|
int | log_set_timestamp_func (log_timestamp_get_t timestamp_getter, uint32_t freq) |
| Function for providing timestamp function. More...
|
|
void | log_panic (void) |
| Switch the logger subsystem to the panic mode. More...
|
|
bool | log_process (void) |
| Process one pending log message. More...
|
|
uint32_t | log_buffered_cnt (void) |
| Return number of buffered log messages. More...
|
|
uint32_t | log_src_cnt_get (uint32_t domain_id) |
| Get number of independent logger sources (modules and instances) More...
|
|
const char * | log_source_name_get (uint32_t domain_id, uint32_t source_id) |
| Get name of the source (module or instance). More...
|
|
static uint8_t | log_domains_count (void) |
| Return number of domains present in the system. More...
|
|
const char * | log_domain_name_get (uint32_t domain_id) |
| Get name of the domain. More...
|
|
int | log_source_id_get (const char *name) |
| Function for finding source ID based on source name. More...
|
|
uint32_t | log_filter_get (struct log_backend const *const backend, uint32_t domain_id, int16_t source_id, bool runtime) |
| Get source filter for the provided backend. More...
|
|
uint32_t | log_filter_set (struct log_backend const *const backend, uint32_t domain_id, int16_t source_id, uint32_t level) |
| Set filter on given source for the provided backend. More...
|
|
void | log_backend_enable (struct log_backend const *const backend, void *ctx, uint32_t level) |
| Enable backend with initial maximum filtering level. More...
|
|
void | log_backend_disable (struct log_backend const *const backend) |
| Disable backend. More...
|
|
const struct log_backend * | log_backend_get_by_name (const char *backend_name) |
| Get backend by name. More...
|
|
const struct log_backend * | log_format_set_all_active_backends (size_t log_type) |
| Sets logging format for all active backends. More...
|
|
uint32_t | log_get_strdup_pool_current_utilization (void) |
| Get current number of allocated buffers for string duplicates. More...
|
|
uint32_t | log_get_strdup_pool_utilization (void) |
| Get maximal number of simultaneously allocated buffers for string duplicates. More...
|
|
uint32_t | log_get_strdup_longest_string (void) |
| Get length of the longest string duplicated. More...
|
|
static bool | log_data_pending (void) |
| Check if there is pending data to be processed by the logging subsystem. More...
|
|
int | log_set_tag (const char *tag) |
| Configure tag used to prefix each message. More...
|
|
int | log_mem_get_usage (uint32_t *buf_size, uint32_t *usage) |
| Get current memory usage. More...
|
|
int | log_mem_get_max_usage (uint32_t *max) |
| Get maximum memory usage. More...
|
|