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
20
extern
"C"
{
21
#endif
22
26
enum
log_rpc_level
{
27
LOG_RPC_LEVEL_NONE
= 0,
28
LOG_RPC_LEVEL_ERR
,
29
LOG_RPC_LEVEL_WRN
,
30
LOG_RPC_LEVEL_INF
,
31
LOG_RPC_LEVEL_DBG
,
32
};
33
45
int
log_rpc_set_stream_level
(
enum
log_rpc_level
level);
46
66
int
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_ */
log_rpc_set_stream_level
int log_rpc_set_stream_level(enum log_rpc_level level)
log_rpc_level
log_rpc_level
Definition:
log_rpc.h:26
LOG_RPC_LEVEL_WRN
@ LOG_RPC_LEVEL_WRN
Definition:
log_rpc.h:29
LOG_RPC_LEVEL_DBG
@ LOG_RPC_LEVEL_DBG
Definition:
log_rpc.h:31
LOG_RPC_LEVEL_NONE
@ LOG_RPC_LEVEL_NONE
Definition:
log_rpc.h:27
LOG_RPC_LEVEL_ERR
@ LOG_RPC_LEVEL_ERR
Definition:
log_rpc.h:28
LOG_RPC_LEVEL_INF
@ LOG_RPC_LEVEL_INF
Definition:
log_rpc.h:30
log_rpc_get_crash_log
int log_rpc_get_crash_log(size_t offset, char *buffer, size_t buffer_length)
Retrieves the crash log retained on the remote device.
include
logging
log_rpc.h
Generated on Thu Sep 26 2024 10:53:16 for nRF Connect SDK API by
1.9.6