Files
gf/.example/os/glog/glog_line2.go

15 lines
257 B
Go

package main
import (
"github.com/gogf/gf/os/glog"
)
func PrintLog(content string) {
glog.Skip(0).Line().Println("line number with skip:", content)
glog.Line(true).Println("line number without skip:", content)
}
func main() {
PrintLog("just test")
}