From 8904ae9d26ee7b651777eb16921d0da3f2e55c44 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Tue, 17 Jun 2025 14:34:02 +0000 Subject: [PATCH] apply Signed-off-by: jsvisa --- internal/testlog/testlog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/testlog/testlog.go b/internal/testlog/testlog.go index 8a3ea85438..21aeb4214e 100644 --- a/internal/testlog/testlog.go +++ b/internal/testlog/testlog.go @@ -194,7 +194,7 @@ func (h *bufHandler) terminalFormat(r slog.Record) string { } for _, attr := range attrs { - fmt.Fprintf(buf, " %s=%s", attr.Key, string(log.FormatSlogValue(attr.Value, nil))) + fmt.Fprintf(buf, " %s=%s", attr.Key, string(log.FormatSlogValue(r.Level, attr.Value, nil))) } buf.WriteByte('\n') return buf.String()