Finish maintain the log file.
This commit is contained in:
parent
fd1a75bc0a
commit
61b14fe82b
@ -134,7 +134,7 @@ func (this *Logger) openFile() {
|
|||||||
panic("日志文件无法正常打开: " + err.Error())
|
panic("日志文件无法正常打开: " + err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
this.goLogger = log.New(f, "", log.LstdFlags|log.Lshortfile)
|
this.goLogger = log.New(f, "", log.Ltime|log.Lshortfile)
|
||||||
|
|
||||||
this.file = f
|
this.file = f
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user