This commit is contained in:
healthyyyoung 2025-03-18 15:59:50 +08:00 committed by GitHub
parent 5f3ccb0205
commit 40c817f846
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,6 @@ func FromLegacyLevel(lvl int) slog.Level {
case legacyLevelTrace:
return LevelTrace
default:
break
}
// TODO: should we allow use of custom levels or force them to match existing max/min if they fall outside the range as I am doing here?