mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
stage2: std.log.err is an error not a warning
This commit is contained in:
parent
883dcb8b18
commit
670260aab6
@ -81,8 +81,8 @@ pub fn log(
|
||||
|
||||
// We only recognize 4 log levels in this application.
|
||||
const level_txt = switch (level) {
|
||||
.emerg, .alert, .crit => "error",
|
||||
.err, .warn => "warning",
|
||||
.emerg, .alert, .crit, .err => "error",
|
||||
.warn => "warning",
|
||||
.notice, .info => "info",
|
||||
.debug => "debug",
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user