mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 13:11:28 +00:00
orm log header flag
This commit is contained in:
parent
2b1316c738
commit
ec35bd0c28
@ -31,7 +31,7 @@ type Log struct {
|
|||||||
// NewLog set io.Writer to create a Logger.
|
// NewLog set io.Writer to create a Logger.
|
||||||
func NewLog(out io.Writer) *Log {
|
func NewLog(out io.Writer) *Log {
|
||||||
d := new(Log)
|
d := new(Log)
|
||||||
d.Logger = log.New(out, "[ORM]", 1e9)
|
d.Logger = log.New(out, "[ORM]", log.LstdFlags)
|
||||||
return d
|
return d
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user