diff --git a/kconfig.go b/kconfig.go index db87a20..e0995cb 100644 --- a/kconfig.go +++ b/kconfig.go @@ -20,6 +20,7 @@ var index string var servePublic = http.FileServer(http.FS(public.FS)) var tmpl *engine.Engine +var l = log.With().Str("mod", "kconfig").Logger() func init() { tmpl = engine.Must(engine.New("").Parse(index)) @@ -44,7 +45,7 @@ func New() *Kconfig { AppName: "kconfig", Schema: defaultSchema, Apply: func(b []byte) error { - log.Debug().Msgf("%s", b) + l.Debug().Msgf("%s", b) return nil }, Load: func() []byte {