fix: set default log level to .info in release builds
This commit is contained in:
parent
4d81123c76
commit
83bbbfebe3
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue