nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
nrf_cloud_log.h File Reference

Module to provide nRF Cloud logging support to nRF9160 SiP. More...

#include <zephyr/logging/log.h>

Go to the source code of this file.

Macros

#define nrf_cloud_log_send(log_level, fmt, ...)
 

Functions

void nrf_cloud_log_init (void)
 Initialize the nRF Cloud logging subsystem. Call after the date_time library is ready.
 
void nrf_cloud_log_rest_context_set (struct nrf_cloud_rest_context *ctx, const char *dev_id)
 Set REST context for logging subsystem.
 
void nrf_cloud_log_level_set (int level)
 Set the logging level.
 
void nrf_cloud_log_enable (bool enable)
 Enable or disable logging to the cloud.
 
bool nrf_cloud_log_is_enabled (void)
 Find out if logger is enabled.
 
void nrf_cloud_log_control_set (int log_level)
 Control nRF Cloud logging.
 
int nrf_cloud_log_control_get (void)
 Get current log level for logging to nRF Cloud.
 
bool nrf_cloud_is_text_logging_enabled (void)
 Determine if build is configured for text (JSON) cloud logging.
 
bool nrf_cloud_is_dict_logging_enabled (void)
 Determine if build is configured for dictionary (binary) logging.
 

Detailed Description

Module to provide nRF Cloud logging support to nRF9160 SiP.