From d84d6dfdae93518936b33290e5cc9adeef876524 Mon Sep 17 00:00:00 2001 From: lunnyxiao Date: Mon, 8 Sep 2014 12:11:25 +0800 Subject: [PATCH] add showinfo for xorm --- models/models.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/models.go b/models/models.go index 5558ec00..247bcf2f 100644 --- a/models/models.go +++ b/models/models.go @@ -111,6 +111,7 @@ func SetEngine() (err error) { x.Logger = xorm.NewSimpleLogger(f) x.ShowSQL = true + x.ShowInfo = true x.ShowDebug = true x.ShowErr = true x.ShowWarn = true