Skip to content

Commit 9ee1927

Browse files
committed
added fatal to log levels
1 parent 18639f0 commit 9ee1927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Log/Level.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static function fromString(string $level): Level
2222
return match (strtolower($level)) {
2323
"emergency" => Level::EMERGENCY,
2424
"alert" => Level::ALERT,
25-
"critical", "severe" => Level::CRITICAL,
25+
"critical", "severe", "fatal" => Level::CRITICAL,
2626
"error", "stderr" => Level::ERROR,
2727
"warning", "warn" => Level::WARNING,
2828
"notice" => Level::NOTICE,

0 commit comments

Comments
 (0)