From ce640048b855a263b640869cca6f641e958a1426 Mon Sep 17 00:00:00 2001 From: jflyfox Date: Fri, 22 Jan 2021 15:30:39 +0800 Subject: [PATCH] improve package gcfg --- os/gcfg/gcfg.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/os/gcfg/gcfg.go b/os/gcfg/gcfg.go index f9c9c4c91..71c203cd0 100644 --- a/os/gcfg/gcfg.go +++ b/os/gcfg/gcfg.go @@ -11,6 +11,7 @@ import ( "bytes" "errors" "fmt" + "github.com/gogf/gf/internal/intlog" "github.com/gogf/gf/os/gcmd" "github.com/gogf/gf/text/gstr" @@ -178,6 +179,7 @@ func (c *Config) SetPath(path string) error { c.jsons.Clear() c.paths.Clear() c.paths.Append(realPath) + intlog.Print("SetPath:", realPath) return nil } @@ -251,7 +253,7 @@ func (c *Config) AddPath(path string) error { return nil } c.paths.Append(realPath) - //glog.Debug("[gcfg] AddPath:", realPath) + intlog.Print("AddPath:", realPath) return nil }