mirror of
https://github.com/apple/container.git
synced 2026-09-24 00:25:43 +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:
@@ -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