Fix ngrok logger

This commit is contained in:
Alexey Khit
2022-08-18 17:25:42 +03:00
parent a2ad01caad
commit 88a02938a5
+1 -4
View File
@@ -12,9 +12,6 @@ import (
func Init() {
var cfg struct {
Log struct {
Level string `yaml:"ngrok"`
} `yaml:"log"`
Mod struct {
Cmd string `yaml:"command"`
} `yaml:"ngrok"`
@@ -26,7 +23,7 @@ func Init() {
return
}
log = app.GetLogger(cfg.Log.Level)
log = app.GetLogger("ngrok")
ngr, err := ngrok.NewNgrok(cfg.Mod.Cmd)
if err != nil {