8 #if defined(__GNUC__) || defined(__clang__)
9 #define __UNUSED __attribute__((unused))
15 #ifndef LOG_TAG_DEFINE
16 #define LOG_TAG_DEFINE(tag) static __UNUSED const char* TAG = #tag
golioth_debug_log_level_t
@ 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_set_client(golioth_client_t client)
void golioth_debug_set_cloud_log_enabled(bool enable)
void golioth_debug_printf(uint64_t tstamp_ms, golioth_debug_log_level_t level, const char *tag, const char *format,...)
golioth_debug_log_level_t golioth_debug_get_log_level(void)
void golioth_debug_set_log_level(golioth_debug_log_level_t level)
void golioth_debug_hexdump(const char *tag, const void *addr, int len)
void * golioth_client_t
Opaque handle to the Golioth client.