github.com/gogf/gf@v1.16.9/.example/os/glog/glog_error.go (about) 1 package main 2 3 import "github.com/gogf/gf/os/glog" 4 5 func Test() { 6 glog.Error("This is error!") 7 } 8 9 func main() { 10 Test() 11 }