19#if defined(__GNUC__) || defined(__clang__)
20#define __UNUSED __attribute__((unused))
27#define LOG_TAG_DEFINE(tag) static __UNUSED const char *TAG = #tag
enum golioth_debug_log_level golioth_debug_get_log_level(void)
void golioth_debug_set_cloud_log_enabled(bool enable)
void golioth_debug_set_client(struct golioth_client *client)
void golioth_debug_set_log_level(enum golioth_debug_log_level level)
void golioth_debug_printf(uint64_t tstamp_ms, enum golioth_debug_log_level level, const char *tag, const char *format,...)
@ GOLIOTH_DEBUG_LOG_LEVEL_NONE
@ GOLIOTH_DEBUG_LOG_LEVEL_ERROR
@ GOLIOTH_DEBUG_LOG_LEVEL_VERBOSE
@ GOLIOTH_DEBUG_LOG_LEVEL_WARN
@ GOLIOTH_DEBUG_LOG_LEVEL_INFO
@ GOLIOTH_DEBUG_LOG_LEVEL_DEBUG
void golioth_debug_hexdump(const char *tag, const void *addr, int len)