package main
import (
"context"
"time"
"github.com/gogf/gf/v2/frame/g"
)
func main() {
ctx := context.TODO()
for i := 0; i < 10; i++ {
g.Log().Print(ctx, "async log", i)
}
g.Log().Print(ctx, "normal log")
g.Log().Print(ctx, "normal log")
g.Log().Print(ctx, "normal log")
time.Sleep(time.Second)
}