optimize log tool

This commit is contained in:
hoteas
2021-05-25 05:28:56 +08:00
parent df07afb744
commit 770f0a94c9
4 changed files with 12 additions and 11 deletions
+3 -3
View File
@@ -52,9 +52,9 @@ func main() {
"app": hotime.Proj{
"index": hotime.Ctr{
"test": func(this *hotime.Context) {
fmt.Println(this.Db.GetTag())
this.Application.Log.Error("dasdasdas")
this.Log.Error("dadasdasd")
//fmt.Println(this.Db.GetTag())
//this.Application.Log.Error("dasdasdas")
//this.Log.Error("dadasdasd")
//x:=this.Db.Action(func(db hotime.HoTimeDB) bool {
//
// db.Insert("user",hotime.Map{"unickname":"dasdas"})