From cba07c0ac6378fd4b0e3018e2063039ba3d90a32 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 15 Feb 2025 13:07:17 +0000 Subject: [PATCH] build: Print debug messages as well Signed-off-by: Michael Tremer --- src/cli/lib/build.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cli/lib/build.c b/src/cli/lib/build.c index beb129a9..64ce2a39 100644 --- a/src/cli/lib/build.c +++ b/src/cli/lib/build.c @@ -134,11 +134,6 @@ static void log_callback(void* data, int priority, const char* file, int line, return; switch (priority) { - // Print messages to standard output - case LOG_INFO: - fprintf(stdout, "%s", buffer); - break; - // Highlight any warnings case LOG_WARNING: fputs(color_yellow(), stderr); @@ -152,6 +147,11 @@ static void log_callback(void* data, int priority, const char* file, int line, fprintf(stderr, "%s", buffer); fputs(color_reset(), stderr); break; + + // Print anything to standard output + default: + fprintf(stdout, "%s", buffer); + break; } // Write to the log file -- 2.39.5