|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Header file for the logging core. More...
#include <zephyr/logging/log_msg.h>#include <zephyr/logging/log_instance.h>#include <stdbool.h>#include <stdint.h>#include <stdarg.h>#include <zephyr/sys/util.h>Go to the source code of this file.
Macros | |
Severity levels | |
| #define | LOG_LEVEL_NONE 0 |
| Severity level used to disable logging for a source. | |
| #define | LOG_LEVEL_ERR 1 |
| Error severity level. | |
| #define | LOG_LEVEL_WRN 2 |
| Warning severity level. | |
| #define | LOG_LEVEL_INF 3 |
| Informational severity level. | |
| #define | LOG_LEVEL_DBG 4 |
| Debug severity level. | |
Functions | |
| static uint32_t | log_const_source_id (const struct log_source_const_data *data) |
| Get index of the log source based on the address of the constant data associated with the source. | |
| static uint32_t | log_dynamic_source_id (const struct log_source_dynamic_data *data) |
| Get index of the log source based on the address of the dynamic data associated with the source. | |
| static uint32_t | log_source_id (const void *source) |
| Get index of the log source based on the address of the associated data. | |
| static void | log_generic (uint8_t level, const char *fmt, va_list ap) |
| Write a generic log message. | |
Header file for the logging core.