Golioth Firmware SDK
Loading...
Searching...
No Matches
log.h File Reference

Go to the source code of this file.

Functions

enum golioth_status golioth_log_error_async (struct golioth_client *client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_log_warn_async (struct golioth_client *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.
 
enum golioth_status golioth_log_info_async (struct golioth_client *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.
 
enum golioth_status golioth_log_debug_async (struct golioth_client *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.
 
enum golioth_status golioth_log_error_sync (struct golioth_client *client, const char *tag, const char *log_message, int32_t timeout_s)
 
enum golioth_status golioth_log_warn_sync (struct golioth_client *client, const char *tag, const char *log_message, int32_t timeout_s)
 Same as golioth_log_error_sync, but for warning level.
 
enum golioth_status golioth_log_info_sync (struct golioth_client *client, const char *tag, const char *log_message, int32_t timeout_s)
 Same as golioth_log_error_sync, but for info level.
 
enum golioth_status golioth_log_debug_sync (struct golioth_client *client, const char *tag, const char *log_message, int32_t timeout_s)
 Same as golioth_log_error_sync, but for debug level.