gf/.example/os/glog/glog_level_prefix.go

12 lines
150 B
Go

package main
import (
"github.com/gogf/gf/os/glog"
)
func main() {
l := glog.New()
l.SetLevelPrefix(glog.LEVEL_DEBU, "debug")
l.Debug("test")
}