feat: Output logs to file config support
This commit is contained in:
parent
479bea2fe0
commit
5d4c6bb9dc
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
.idea
|
||||
venv
|
||||
logs
|
||||
|
||||
starbot/commands/private
|
||||
main.py
|
@ -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,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user