88 #define LOG(logdom, sdom, logl, fmt, ...) do { \
89 logging_logfn(logdom, sdom, logl, "[%s:%s](%s:%d): " fmt, logging_level2str(logl), \
90 logging_dom2str(logdom), __func__, __LINE__, ## __VA_ARGS__); \
98 void logging_logfn(uint8_t logdom, uint8_t logl, uint8_t sdom,
const char *fmt, ...);
101 void logging_hexdump(uint8_t *data,
unsigned int len);