Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
log_backend_ws.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
13#ifndef ZEPHYR_LOG_BACKEND_WS_H_
14#define ZEPHYR_LOG_BACKEND_WS_H_
15
23#include <stdbool.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
37
48
56const struct log_backend *log_backend_ws_get(void);
57
64
65#ifdef __cplusplus
66}
67#endif
68
71#endif /* ZEPHYR_LOG_BACKEND_WS_H_ */
void log_backend_ws_start(void)
Start the websocket logger backend.
int log_backend_ws_unregister(int fd)
Unregister websocket socket where the logging output was sent.
int log_backend_ws_register(int fd)
Register websocket socket where the logging output is sent.
const struct log_backend * log_backend_ws_get(void)
Get the websocket logger backend.
Logger backend structure.
Definition log_backend.h:95