1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-30 01:11:29 +00:00

orm log header flag

This commit is contained in:
JessonChan 2016-03-16 18:04:27 +08:00
parent 2b1316c738
commit ec35bd0c28

View File

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