1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 12:10:55 +00:00

make example runable

This commit is contained in:
Wang-Kai 2018-05-03 22:04:49 +08:00
parent 0f73050567
commit 1fd7fa5df7

View File

@ -25,7 +25,7 @@ import (
Then init a Log (example with console adapter) Then init a Log (example with console adapter)
```golang ```golang
log := NewLogger(10000) log := logs.NewLogger(10000)
log.SetLogger("console", "") log.SetLogger("console", "")
``` ```