nRF Connect SDK API 0.1.0
|
void nrf_cloud_log_level_set | ( | int | level | ) |
#include <include/net/nrf_cloud_log.h>
Set the logging level.
Set the log level, but do not change whether the nRF Cloud logging backend is enabled.
Log messages with a log level larger than this will not be sent. For example, if log_level is LOG_LEVEL_WRN (2), then LOG_LEVEL_WRN (2) and LOG_LEVEL_ERR (1) messages will be sent, and LOG_LEVEL_INF (3) and LOG_LEVEL_DBG (4) will not. Set log_level to LOG_LEVEL_NONE (0) to disable logging. See zephyr/include/zephyr/logging/log_core.h.
level | The log level. |