优化日志

This commit is contained in:
hahwu 2025-02-17 10:20:32 +08:00
parent aabda95938
commit 7072f8ee92

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