| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <zephyr/logging/log_msg.h>#include <stdarg.h>#include <zephyr/sys/__assert.h>#include <zephyr/sys/util.h>#include <zephyr/logging/log_output.h>Go to the source code of this file.
Data Structures | |
| union | log_backend_evt_arg | 
| Argument(s) for backend events.  More... | |
| struct | log_backend_api | 
| Logger backend API.  More... | |
| struct | log_backend_control_block | 
| Logger backend control block.  More... | |
| struct | log_backend | 
| Logger backend structure.  More... | |
Macros | |
| #define | LOG_BACKEND_DEFINE(_name, _api, _autostart, ...) | 
| Macro for creating a logger backend instance.  More... | |
Enumerations | |
| enum | log_backend_evt { LOG_BACKEND_EVT_PROCESS_THREAD_DONE , LOG_BACKEND_EVT_MAX } | 
| Backend events.  More... | |
Functions | |
| static void | log_backend_init (const struct log_backend *const backend) | 
| Initialize or initiate the logging backend.  More... | |
| static int | log_backend_is_ready (const struct log_backend *const backend) | 
| Poll for backend readiness.  More... | |
| static void | log_backend_msg_process (const struct log_backend *const backend, union log_msg_generic *msg) | 
| Process message.  More... | |
| static void | log_backend_dropped (const struct log_backend *const backend, uint32_t cnt) | 
| Notify backend about dropped log messages.  More... | |
| static void | log_backend_panic (const struct log_backend *const backend) | 
| Reconfigure backend to panic mode.  More... | |
| static void | log_backend_id_set (const struct log_backend *const backend, uint8_t id) | 
| Set backend id.  More... | |
| static uint8_t | log_backend_id_get (const struct log_backend *const backend) | 
| Get backend id.  More... | |
| static const struct log_backend * | log_backend_get (uint32_t idx) | 
| Get backend.  More... | |
| static int | log_backend_count_get (void) | 
| Get number of backends.  More... | |
| static void | log_backend_activate (const struct log_backend *const backend, void *ctx) | 
| Activate backend.  More... | |
| static void | log_backend_deactivate (const struct log_backend *const backend) | 
| Deactivate backend.  More... | |
| static bool | log_backend_is_active (const struct log_backend *const backend) | 
| Check state of the backend.  More... | |
| static int | log_backend_format_set (const struct log_backend *backend, uint32_t log_type) | 
| Set logging format.  More... | |
| static void | log_backend_notify (const struct log_backend *const backend, enum log_backend_evt event, union log_backend_evt_arg *arg) | 
| Notify a backend of an event.  More... | |