gf/.example/os/glog/glog_stack.go

17 lines
192 B
Go

package main
import (
"fmt"
"github.com/gogf/gf/os/glog"
)
func main() {
glog.PrintStack()
glog.New().PrintStack()
fmt.Println(glog.GetStack())
fmt.Println(glog.New().GetStack())
}