env和日志

master
nikkiing 2 years ago
parent a6040b97b0
commit a8864abad3
  1. 2
      glog/v1/aliyun.go
  2. 9
      glog/v1/glog.go
  3. 2
      glog/v1/logger.go
  4. 2
      glog/v1/std.go

@ -1,4 +1,4 @@
package pkg
package glog
import (
"encoding/json"

@ -0,0 +1,9 @@
package glog
import "github.com/go-kratos/kratos/v2/log"
var Glog *log.Helper
func NewHelper(logger log.Logger) {
Glog = log.NewHelper(logger)
}

@ -1,4 +1,4 @@
package pkg
package glog
import (
"gitea.drugeyes.vip/pharnexbase/utils/enum"

@ -1,4 +1,4 @@
package pkg
package glog
import (
"bytes"

Loading…
Cancel
Save