优化日志

This commit is contained in:
hahwu 2025-02-17 10:20:32 +08:00
parent 397f2396fb
commit d18c31840d

View File

@ -176,7 +176,7 @@ func (logger *Logger) doPrintf(level int, printLevel string, format string, a ..
return
}
if logger.baseLogger == nil {
panic("logger closed")
return
}
format = printLevel + format