Zephyr API Documentation 4.0.0-rc2
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
7#ifndef ZEPHYR_LOG_BACKEND_WS_H_
8#define ZEPHYR_LOG_BACKEND_WS_H_
9
10#include <stdbool.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
24
35
43const struct log_backend *log_backend_ws_get(void);
44
51
52#ifdef __cplusplus
53}
54#endif
55
56#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:94