nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_cloud_log_control_set()

void nrf_cloud_log_control_set ( int log_level)

#include <include/net/nrf_cloud_log.h>

Control nRF Cloud logging.

Set log level. If the level is set to LOG_LEVEL_NONE, the nRF Cloud logging backend will be disabled, otherwise it will be enabled. This combines the action of nrf_cloud_log_enable() and nrf_cloud_log_level_set().

Parameters
log_levelThe log level to go to the cloud.