mirror of https://github.com/Mai-with-u/MaiBot.git
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
commit
87663d45f2
|
|
@ -113,6 +113,7 @@ def configure_logging(
|
||||||
# 设置日志级别
|
# 设置日志级别
|
||||||
root_logger.setLevel(getattr(logging, level.upper()))
|
root_logger.setLevel(getattr(logging, level.upper()))
|
||||||
|
|
||||||
|
|
||||||
def format_json_for_logging(data, indent=2, ensure_ascii=False):
|
def format_json_for_logging(data, indent=2, ensure_ascii=False):
|
||||||
"""将JSON数据格式化为可读字符串
|
"""将JSON数据格式化为可读字符串
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue