This commit is contained in:
aozhiwei 2024-04-10 17:39:15 +08:00
parent cce0b0b5db
commit b1c82ecb4f

View File

@ -101,7 +101,7 @@ func (this *sysLog) addLog(category int32, prefixStr string,
p.logMsg = q5.FormatUnixDateTime(_app.GetNowSeconds(), _app.GetLocation()) +
prefixStr + " " +
fmt.Sprintf(format, args...) + "\n"
if category == LOG_INFO {
if category == LOG_INFO || q5.IsDebug() {
fmt.Print(p.logMsg)
}
this.msgMutex.Lock()