nRF Connect SDK API 0.1.0
|
void nrf_cloud_log_rest_context_set | ( | struct nrf_cloud_rest_context * | ctx, |
const char * | dev_id | ||
) |
#include <include/net/nrf_cloud_log.h>
Set REST context for logging subsystem.
Tell REST-based logger the REST context and device_id for later use when outputting a log. This is used by the nRF Cloud logs backend when CONFIG_NRF_CLOUD_LOG_BACKEND=y.
[in] | ctx | REST context to use. |
[in] | dev_id | Device ID to send message on behalf of. |