15 const char *thread_name,
uint32_t client_id) {
16 if (!thread || !func || !thread_name) {
26 log_debug(
"Created %s thread for client %u successfully", thread_name, client_id);
#define SET_ERRNO(code, context_msg,...)
Set error code with custom context message and log it.
asciichat_error_t
Error and exit codes - unified status values (0-255)
#define log_debug(...)
Log a DEBUG message.
๐ Logging API with multiple log levels and terminal output control
๐งต Thread lifecycle management helpers