fix: move debug logs before async operations (queue_put, timer_set, resume) for meaningful log ordering

This commit is contained in:
Evgeny committed 2026-06-02 21:53:51 +03:00
1 parent c5c4967b69
commit fceec1aea6
12 files changed
+71 -72

No files matched your search

+2
View File
@@ -127,6 +127,7 @@ static const struct {
{"general", DEBUG_CATEGORY_GENERAL},
{"nat", DEBUG_CATEGORY_NAT},
{"keepalive", DEBUG_CATEGORY_KEEPALIVE},
{"etcp_route", DEBUG_CATEGORY_ETCPROUTE},
{"all", DEBUG_CATEGORY_ALL},
{NULL, DEBUG_CATEGORY_NONE}
};
@@ -220,6 +221,7 @@ const char* debug_get_category_name(debug_category_t category_idx) {
case DEBUG_CATEGORY_GENERAL: return "GENERAL";
case DEBUG_CATEGORY_NAT: return "NAT";
case DEBUG_CATEGORY_KEEPALIVE: return "KEEPALIVE";
case DEBUG_CATEGORY_ETCPROUTE: return "ETCPROUTE";
case DEBUG_CATEGORY_NONE: return "NONE";
default: return "UNKNOWN";
}