|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Websocket log backend API. More...
Files | |
| file | log_backend_ws.h |
| Header file for the websocket log backend API. | |
Functions | |
| int | log_backend_ws_register (int fd) |
| Register websocket socket where the logging output is sent. | |
| int | log_backend_ws_unregister (int fd) |
| Unregister websocket socket where the logging output was sent. | |
| const struct log_backend * | log_backend_ws_get (void) |
| Get the websocket logger backend. | |
| void | log_backend_ws_start (void) |
| Start the websocket logger backend. | |
Websocket log backend API.
| const struct log_backend * log_backend_ws_get | ( | void | ) |
#include <zephyr/logging/log_backend_ws.h>
Get the websocket logger backend.
This function returns the websocket logger backend.
| int log_backend_ws_register | ( | int | fd | ) |
#include <zephyr/logging/log_backend_ws.h>
Register websocket socket where the logging output is sent.
| fd | Websocket socket value. |
| void log_backend_ws_start | ( | void | ) |
#include <zephyr/logging/log_backend_ws.h>
Start the websocket logger backend.
This function starts the websocket logger backend.
| int log_backend_ws_unregister | ( | int | fd | ) |
#include <zephyr/logging/log_backend_ws.h>
Unregister websocket socket where the logging output was sent.
After this the websocket output is disabled.
| fd | Websocket socket value. |