From 5bf6d1823e640c8e4c0ff4fad9b34a59da641ea2 Mon Sep 17 00:00:00 2001 From: Antonino Simone Di Stefano Date: Wed, 15 Jan 2025 15:04:36 +0100 Subject: [PATCH] Output debug log messages, when debug level is "debug" --- core/testing/runner.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/testing/runner.odin b/core/testing/runner.odin index 83a5ac4e7f8..4fa36ed0003 100644 --- a/core/testing/runner.odin +++ b/core/testing/runner.odin @@ -611,7 +611,7 @@ runner :: proc(internal_tests: []Internal_Test) -> bool { total_done_count += 1 } - when ODIN_DEBUG { + when ODIN_DEBUG || LOG_LEVEL == "debug" { log.debugf("Test #%i %s.%s changed state to %v.", task_channel.test_index, it.pkg, it.name, event.new_state) }