nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
log_rpc.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef LOG_RPC_H_
8#define LOG_RPC_H_
9
10#include <stddef.h>
11
19#ifdef __cplusplus
20extern "C" {
21#endif
22
32};
33
46
66int log_rpc_get_crash_log(size_t offset, char *buffer, size_t buffer_length);
67
68#ifdef __cplusplus
69}
70#endif
71
76#endif /* LOG_RPC_H_ */
int log_rpc_set_stream_level(enum log_rpc_level level)
log_rpc_level
Definition: log_rpc.h:26
@ LOG_RPC_LEVEL_WRN
Definition: log_rpc.h:29
@ LOG_RPC_LEVEL_DBG
Definition: log_rpc.h:31
@ LOG_RPC_LEVEL_NONE
Definition: log_rpc.h:27
@ LOG_RPC_LEVEL_ERR
Definition: log_rpc.h:28
@ LOG_RPC_LEVEL_INF
Definition: log_rpc.h:30
int log_rpc_get_crash_log(size_t offset, char *buffer, size_t buffer_length)
Retrieves the crash log retained on the remote device.