feat: debug log decoded conf
This commit is contained in:
parent
073fb39316
commit
3882a311e7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user