From 83bbbfebe3c30aaf24499976d9c10d06703bc5cb Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 2 Dec 2025 14:24:11 +0100 Subject: [PATCH] fix: set default log level to .info in release builds --- src/main.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.zig b/src/main.zig index e33201c..5997395 100644 --- a/src/main.zig +++ b/src/main.zig @@ -30,8 +30,7 @@ pub const application_subtext = "a programmer's text editor"; pub const application_description = application_title ++ ": " ++ application_subtext; pub const std_options: std.Options = .{ - // .log_level = if (builtin.mode == .Debug) .debug else .warn, - .log_level = if (builtin.mode == .Debug) .info else .warn, + .log_level = if (builtin.mode == .Debug) .debug else .info, .logFn = log.std_log_function, };