log_dump: level+category, memory_pool: дамп user_data через log_dump при коррапшне

This commit is contained in:
Evgeny committed 2026-06-09 22:20:06 +03:00
1 parent 81cad40e3b
commit 9e133699bf
5 files changed
+31 -44

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ ip_str_t ip_to_str(const void *addr, int family);// big endian addr
ip_str_t sockaddr_storage_to_str(const struct sockaddr_storage *addr);// автоопределение v4 или v6
// hex dump в лог
void log_dump(const char* prefix, const uint8_t* data, size_t len);
void log_dump(int level, int category, const char* prefix, const uint8_t* data, size_t len);
/* Check if debug output should be shown for given level and category */
int debug_should_output(debug_level_t level, debug_category_t category_idx);