mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
修改日志输出格式
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ subdomains_common = {'i', 'w', 'm', 'en', 'us', 'zh', 'w3', 'app', 'bbs', 'web',
|
|||||||
'data', 'help', 'live', 'mall', 'blogs', 'files', 'forum', 'store', 'mobile'}
|
'data', 'help', 'live', 'mall', 'blogs', 'files', 'forum', 'store', 'mobile'}
|
||||||
|
|
||||||
# 日志配置
|
# 日志配置
|
||||||
stdout_fmt = '<light-green>{time:HH:mm:ss,SSS}</light-green> ' \
|
stdout_fmt = '<cyan>{time:HH:mm:ss,SSS}</cyan> ' \
|
||||||
'[<level>{level: <5}</level>] ' \
|
'[<level>{level: <5}</level>] ' \
|
||||||
'<blue>{module}</blue>:<cyan>{line}</cyan> - ' \
|
'<blue>{module}</blue>:<cyan>{line}</cyan> - ' \
|
||||||
'<level>{message}</level>'
|
'<level>{message}</level>'
|
||||||
|
|||||||
Reference in New Issue
Block a user