mirror of
https://github.com/astaxie/beego.git
synced 2024-12-23 05:40:50 +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.
|
||||
func NewLog(out io.Writer) *Log {
|
||||
d := new(Log)
|
||||
d.Logger = log.New(out, "[ORM]", 1e9)
|
||||
d.Logger = log.New(out, "[ORM]", log.LstdFlags)
|
||||
return d
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user