feat: Output logs to file config support

This commit is contained in:
LWR 2023-04-21 20:44:56 +08:00
parent 479bea2fe0
commit 5d4c6bb9dc
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.idea
venv
logs
starbot/commands/private
main.py

View File

@ -36,6 +36,9 @@ SIMPLE_CONFIG = {
"BILI_JCT": None,
"BUVID3": None,
# 是否将日志同时输出到文件中
"LOG_TO_FILE": False,
# 成功连接所有主播直播间的最大等待时长,可使得日志输出顺序更加易读,一般无需修改此处,单位:秒
"WAIT_FOR_ALL_CONNECTION_TIMEOUT": 30,
@ -135,6 +138,9 @@ FULL_CONFIG = {
"BILI_JCT": None,
"BUVID3": None,
# 是否将日志同时输出到文件中
"LOG_TO_FILE": False,
# 成功连接所有主播直播间的最大等待时长,可使得日志输出顺序更加易读,一般无需修改此处,单位:秒
"WAIT_FOR_ALL_CONNECTION_TIMEOUT": 30,