stage2: std.log.err is an error not a warning

master
Andrew Kelley 2020-09-16 13:41:28 -07:00
parent 883dcb8b18
commit 670260aab6
1 changed files with 2 additions and 2 deletions

View File

@ -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",
};