mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-27 13:20:55 +00:00
feat: 自动向轻雪服务器上报错误信息
This commit is contained in:
@ -49,10 +49,10 @@ logger_id = logger.add(
|
||||
level=0,
|
||||
diagnose=False,
|
||||
filter=default_filter,
|
||||
format=get_format(load_from_yaml('config.yml').get("log_level", "INFO")),
|
||||
format=get_format(config.get("log_level", "INFO")),
|
||||
)
|
||||
|
||||
|
||||
show_icon = config.get("show_icon", True)
|
||||
logger.level("DEBUG", color="<blue>", icon=f"*️⃣==DEBUG")
|
||||
logger.level("INFO", color="<white>", icon=f"ℹ️===INFO")
|
||||
logger.level("SUCCESS", color="<green>", icon=f"✅SUCCESS")
|
||||
|
Reference in New Issue
Block a user