config: use the in-house logger
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
593454d616
commit
a053103000
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user