1
This commit is contained in:
parent
cce0b0b5db
commit
b1c82ecb4f
@ -101,7 +101,7 @@ func (this *sysLog) addLog(category int32, prefixStr string,
|
|||||||
p.logMsg = q5.FormatUnixDateTime(_app.GetNowSeconds(), _app.GetLocation()) +
|
p.logMsg = q5.FormatUnixDateTime(_app.GetNowSeconds(), _app.GetLocation()) +
|
||||||
prefixStr + " " +
|
prefixStr + " " +
|
||||||
fmt.Sprintf(format, args...) + "\n"
|
fmt.Sprintf(format, args...) + "\n"
|
||||||
if category == LOG_INFO {
|
if category == LOG_INFO || q5.IsDebug() {
|
||||||
fmt.Print(p.logMsg)
|
fmt.Print(p.logMsg)
|
||||||
}
|
}
|
||||||
this.msgMutex.Lock()
|
this.msgMutex.Lock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user