Administrator
2025-03-12 6e7af1a80f8aadfdf71d8f0683facb152d7d2de7
log_module/async_log_util.py
@@ -6,7 +6,7 @@
import threading
import time
from log_module.log import logger_debug, logger_system
from log_module.log import logger_debug, logger_system, printlog
from utils import tool
@@ -38,9 +38,10 @@
    # 运行同步日志
    def run_sync(self, add_to_common_log=False):
        print("run_sync", add_to_common_log)
        printlog("run_sync", add_to_common_log)
        logger_system.info(f"run_sync 线程ID:{tool.get_thread_id()}")
        while True:
            # val = self.__log_queue.get()
            try:
                val = self.__log_queue.get()
                if not add_to_common_log: