Golioth Firmware SDK
golioth_log.h File Reference
#include "golioth_status.h"
#include "golioth_client.h"

Go to the source code of this file.

Functions

golioth_status_t golioth_log_error_async (golioth_client_t client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
 
golioth_status_t golioth_log_warn_async (golioth_client_t client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
 Same as golioth_log_error_async, but for warning level. More...
 
golioth_status_t golioth_log_info_async (golioth_client_t client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
 Same as golioth_log_error_async, but for info level. More...
 
golioth_status_t golioth_log_debug_async (golioth_client_t client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
 Same as golioth_log_error_async, but for debug level. More...
 
golioth_status_t golioth_log_error_sync (golioth_client_t client, const char *tag, const char *log_message, int32_t timeout_s)
 
golioth_status_t golioth_log_warn_sync (golioth_client_t client, const char *tag, const char *log_message, int32_t timeout_s)
 Same as golioth_log_error_sync, but for warning level. More...
 
golioth_status_t golioth_log_info_sync (golioth_client_t client, const char *tag, const char *log_message, int32_t timeout_s)
 Same as golioth_log_error_sync, but for info level. More...
 
golioth_status_t golioth_log_debug_sync (golioth_client_t client, const char *tag, const char *log_message, int32_t timeout_s)
 Same as golioth_log_error_sync, but for debug level. More...