From 3882a311e76508a71638882e436e22045f60faf1 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Thu, 10 Oct 2024 23:55:06 -0400 Subject: [PATCH] feat: debug log decoded conf --- internal/stage/util.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/stage/util.go b/internal/stage/util.go index e216fe1..4ef1dca 100644 --- a/internal/stage/util.go +++ b/internal/stage/util.go @@ -2,6 +2,7 @@ package stage import ( "fmt" + "log/slog" "github.com/mcuadros/go-defaults" "github.com/mitchellh/mapstructure" @@ -14,5 +15,6 @@ func DecodeConf[T any](confAny any) (*T, error) { if err != nil { return nil, fmt.Errorf("failed to decode conf: %w", err) } + slog.Debug("conf decode", "conf", conf) return conf, nil }