fix: set default log level to .info in release builds

This commit is contained in:
CJ van den Berg 2025-12-02 14:24:11 +01:00
parent 4d81123c76
commit 83bbbfebe3
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -30,8 +30,7 @@ pub const application_subtext = "a programmer's text editor";
pub const application_description = application_title ++ ": " ++ application_subtext; pub const application_description = application_title ++ ": " ++ application_subtext;
pub const std_options: std.Options = .{ pub const std_options: std.Options = .{
// .log_level = if (builtin.mode == .Debug) .debug else .warn, .log_level = if (builtin.mode == .Debug) .debug else .info,
.log_level = if (builtin.mode == .Debug) .info else .warn,
.logFn = log.std_log_function, .logFn = log.std_log_function,
}; };