mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-13 07:04:44 +08:00
优化数据与日志模块
This commit is contained in:
@@ -50,7 +50,7 @@ func (slf *LogModule) CheckAndGenFile() {
|
||||
var err error
|
||||
slf.logFile, err = os.Create(slf.GetCurrentFileName())
|
||||
if err != nil {
|
||||
fmt.Print("create log file %s error!", slf.GetCurrentFileName())
|
||||
fmt.Printf("create log file %+v error!", slf.GetCurrentFileName())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user