mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.log: adjust default level for ReleaseSmall to include info
it was kind of wild to not do this before. sorry!
This commit is contained in:
parent
820f1a23a5
commit
36cf22c55c
1 changed files with 1 additions and 2 deletions
|
|
@ -101,8 +101,7 @@ pub const Level = enum {
|
|||
/// The default log level is based on build mode.
|
||||
pub const default_level: Level = switch (builtin.mode) {
|
||||
.Debug => .debug,
|
||||
.ReleaseSafe => .info,
|
||||
.ReleaseFast, .ReleaseSmall => .err,
|
||||
.ReleaseSafe, .ReleaseFast, .ReleaseSmall => .info,
|
||||
};
|
||||
|
||||
const level = std.options.log_level;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue