diff --git a/auto_tests/helpers.h b/auto_tests/helpers.h index 0c88f4a1..de106340 100644 --- a/auto_tests/helpers.h +++ b/auto_tests/helpers.h @@ -42,6 +42,10 @@ static const char *tox_log_level_name(TOX_LOG_LEVEL level) static void print_debug_log(Tox *m, TOX_LOG_LEVEL level, const char *path, uint32_t line, const char *func, const char *message, void *user_data) { + if (level == TOX_LOG_LEVEL_TRACE) { + return; + } + uint32_t index = user_data ? *(uint32_t *)user_data : 0; const char *file = strrchr(path, '/'); file = file ? file + 1 : path;