mirror of
https://github.com/apple/container.git
synced 2026-11-15 02:10:19 +00:00
Downgrade the mapping of warnings to the default log level (#1238)
- Upgrading warnings to error level is counterintuitive. Since there is no warning level, use default level.
This commit is contained in:
1 parent
5ae887cb27
commit
c56d74bd3c
1 file changed
+2
-2
@@ -93,9 +93,9 @@ extension Logger.Level {
|
||||
return .debug
|
||||
case .info:
|
||||
return .info
|
||||
case .notice:
|
||||
case .notice, .warning:
|
||||
return .default
|
||||
case .error, .warning:
|
||||
case .error:
|
||||
return .error
|
||||
case .critical:
|
||||
return .fault
|
||||
|
||||
Reference in new issue
Block a user