From a053103000419922d8af7f36bfdee0028625fa6a Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 1 May 2023 23:09:36 +0200 Subject: [PATCH] config: use the in-house logger --- config/config.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 4296e99..d2d096c 100644 --- a/config/config.go +++ b/config/config.go @@ -1,8 +1,7 @@ package config import ( - "log" - + "git.dotya.ml/mirre-mt/pcmt/slogging" "github.com/philandstuff/dhall-golang/v6" ) @@ -23,7 +22,7 @@ func LoadConfig(path string) (*Config, error) { return nil, err } - log.Printf("parsed config: %+v", &config) + slogging.GetLogger().Debugf("parsed config: %+v", config) return &config, nil }