feat: 优化日志系统,添加日志器缓存机制

This commit is contained in:
2025-10-18 08:50:43 +08:00
parent c5c625f50e
commit 5540a9169a
7 changed files with 139 additions and 36 deletions

View File

@@ -66,7 +66,7 @@ Logger *newLogger(const char *name);
*/
Logger *getDefaultLogger(void);
Logger *getLogger(const char *name, log_level level);
Logger *getLogger(const char *name);
/**
* @brief 销毁日志对象,该方法会销毁默认日志对象