Browse Source

add showinfo for xorm

tags/v1.2.0-rc1
lunnyxiao 11 years ago
parent
commit
d84d6dfdae
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      models/models.go

+ 1
- 0
models/models.go View File

@@ -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


Loading…
Cancel
Save