improve color feature for package glog

This commit is contained in:
John Guo
2021-07-15 13:31:32 +08:00
parent 860b22aba4
commit fae4dea37a
9 changed files with 130 additions and 124 deletions

View File

@ -0,0 +1,15 @@
package main
import (
"github.com/gogf/gf/frame/g"
)
func main() {
g.Log().Print("Print")
g.Log().Debug("Debug")
g.Log().Info("Info")
g.Log().Notice("Notice")
g.Log().Warning("Warning")
g.Log().Error("Error")
g.Log().Critical("Critical")
}