mirror of
https://github.com/astaxie/beego.git
synced 2025-08-27 12:07:33 +00:00
make example runable
This commit is contained in:
@@ -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", "")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user