File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 44 "errors"
55 "fmt"
66 "github.com/coder2z/g-saber/xcfg"
7- "github.com/coder2z/g-saber/xlog "
7+ "github.com/coder2z/g-saber/xconsole "
88 "github.com/coder2z/g-server/datasource/apollo"
99 "github.com/coder2z/g-server/datasource/etcdv3"
1010 "github.com/coder2z/g-server/datasource/file"
@@ -58,12 +58,7 @@ func NewDataSource(configAddr string) (xcfg.DataSource, error) {
5858 if ! exist {
5959 return nil , ErrInvalidDataSource
6060 }
61- //"Get xcfg from:", configAddr
62- xlog .Info ("Application Starting" ,
63- xlog .FieldComponentName ("manager" ),
64- xlog .FieldMethod ("manager.NewDataSource" ),
65- xlog .FieldDescription (fmt .Sprintf ("Get xcfg from:%s" , configAddr )),
66- )
61+ xconsole .Green (fmt .Sprintf ("Get xcfg from:%s" , configAddr ))
6762 source := creatorFunc ()
6863 if source == nil {
6964 return nil , ErrInvalidDataSource
You can’t perform that action at this time.
0 commit comments