fix: use context.TODO() in logger.Enabled check for improved clarity

This commit is contained in:
2025-11-07 12:51:14 -06:00
parent 4e13fe523b
commit fd5eb65bc0

View File

@@ -92,7 +92,7 @@ func Log(level int, msg string, args ...interface{}) {
slogLevel = slog.LevelError
}
if !logger.Enabled(nil, slogLevel) {
if !logger.Enabled(context.TODO(), slogLevel) {
return
}