feat:五颜六色
This commit is contained in:
@@ -54,7 +54,7 @@ class InterestLogger:
|
||||
results = {}
|
||||
|
||||
if not all_flows:
|
||||
logger.debug("未找到任何子心流状态")
|
||||
# logger.debug("未找到任何子心流状态")
|
||||
return results
|
||||
|
||||
for subheartflow in all_flows:
|
||||
@@ -109,7 +109,7 @@ class InterestLogger:
|
||||
}
|
||||
|
||||
if not all_subflow_states:
|
||||
logger.debug("没有获取到任何子心流状态,仅记录主心流状态")
|
||||
# logger.debug("没有获取到任何子心流状态,仅记录主心流状态")
|
||||
with open(self._history_log_file_path, "a", encoding="utf-8") as f:
|
||||
f.write(json.dumps(log_entry_base, ensure_ascii=False) + "\n")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user