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:
Dmitry Kovba
2026-02-19 19:42:36 -08:00
committed by GitHub
parent 5ae887cb27
commit c56d74bd3c
+2 -2
View File
@@ -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