🤖 自动格式化代码 [skip ci]

pull/1038/head
github-actions[bot] 2025-06-12 06:15:46 +00:00
parent 4504ded37d
commit b3287bda46
1 changed files with 5 additions and 4 deletions

View File

@ -113,6 +113,7 @@ def configure_logging(
# 设置日志级别
root_logger.setLevel(getattr(logging, level.upper()))
def format_json_for_logging(data, indent=2, ensure_ascii=False):
"""将JSON数据格式化为可读字符串