![]() |
nRF Connect SDK API 3.3.99
|
| int log_rpc_fetch_history | ( | log_rpc_history_handler_t | handler | ) |
#include <include/logging/log_rpc.h>
Fetches the log history.
This function issues an nRF RPC command that starts the log history transfer from the remote device. The handler callback function is invoked for each received log message. Additionally, it is invoked with msg argument set to NULL after all log messages have been received.
| handler | History handler, see log_rpc_history_handler_t. |
| 0 | On success. |
| -errno | On failure. |