36 const char *log_message,
43 const char *log_message,
50 const char *log_message,
57 const char *log_message,
void(* golioth_set_cb_fn)(struct golioth_client *client, enum golioth_status status, const struct golioth_coap_rsp_code *coap_rsp_code, const char *path, void *arg)
enum golioth_status golioth_log_error(struct golioth_client *client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
enum golioth_status golioth_log_info(struct golioth_client *client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
Same as golioth_log_error, but for info level.
enum golioth_status golioth_log_warn(struct golioth_client *client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
Same as golioth_log_error, but for warning level.
enum golioth_status golioth_log_debug(struct golioth_client *client, const char *tag, const char *log_message, golioth_set_cb_fn callback, void *callback_arg)
Same as golioth_log_error, but for debug level.