refactor: 重构日志系统,统一日志接口并添加map工具

This commit is contained in:
2025-10-17 14:55:41 +08:00
parent 9fce78a59e
commit c5c625f50e
10 changed files with 284 additions and 195 deletions

View File

@@ -2,7 +2,6 @@
#include "logging/logging-handler.h"
int main() {
initDefaultLogger("testLogger", LOG_DEBUG);
log_Handler *hander = loggingHandlerFile("test_log", 1024 * 1024 * 10);
addHandler(getDefaultLogger(), hander);