Logger backend interface for forwarding to standard backend.
More...
|
| static uint32_t | log_backend_std_get_flags (void) |
| |
| static void | log_backend_std_put (const struct log_output *const output, uint32_t flags, struct log_msg *msg) |
| | Put log message to a standard logger backend. More...
|
| |
| static void | log_backend_std_panic (const struct log_output *const output) |
| | Put a standard logger backend into panic mode. More...
|
| |
| static void | log_backend_std_dropped (const struct log_output *const output, uint32_t cnt) |
| | Report dropped messages to a standard logger backend. More...
|
| |
| static void | log_backend_std_sync_string (const struct log_output *const output, uint32_t flags, struct log_msg_ids src_level, uint32_t timestamp, const char *fmt, va_list ap) |
| | Synchronously process log message by a standard logger backend. More...
|
| |
| static void | log_backend_std_sync_hexdump (const struct log_output *const output, uint32_t flags, struct log_msg_ids src_level, uint32_t timestamp, const char *metadata, const uint8_t *data, uint32_t length) |
| | Synchronously process hexdump message by a standard logger backend. More...
|
| |
Logger backend interface for forwarding to standard backend.
◆ log_backend_std_dropped()
| static void log_backend_std_dropped |
( |
const struct log_output *const |
output, |
|
|
uint32_t |
cnt |
|
) |
| |
|
inlinestatic |
◆ log_backend_std_get_flags()
| static uint32_t log_backend_std_get_flags |
( |
void |
| ) |
|
|
inlinestatic |
◆ log_backend_std_panic()
| static void log_backend_std_panic |
( |
const struct log_output *const |
output | ) |
|
|
inlinestatic |
◆ log_backend_std_put()
◆ log_backend_std_sync_hexdump()
#include <include/zephyr/logging/log_backend_std.h>
Synchronously process hexdump message by a standard logger backend.
- Parameters
-
| output | Log output instance. |
| flags | Formatting flags. |
| src_level | Log message source and level. |
| timestamp | Timestamp. |
| metadata | String associated with a hexdump. |
| data | Buffer to dump. |
| length | Length of the buffer. |
◆ log_backend_std_sync_string()
#include <include/zephyr/logging/log_backend_std.h>
Synchronously process log message by a standard logger backend.
- Parameters
-
| output | Log output instance. |
| flags | Formatting flags. |
| src_level | Log message source and level. |
| timestamp | Timestamp. |
| fmt | Log string. |
| ap | Log string arguments. |