mirror of
https://github.com/Nanaloveyuki/py-logiliteal.git
synced 2025-09-05 19:16:22 +00:00
🔧 更新了配置文件及其对应对代码修复
This commit is contained in:
15
config.json
15
config.json
@ -1,14 +1,14 @@
|
||||
{
|
||||
"file_level": "DEBUG",
|
||||
"file_name": "pliblog.log",
|
||||
"file_path": "./",
|
||||
"file_format": "{asctime} | {levelname} | {prefix} {message}",
|
||||
"file_path": "./logs",
|
||||
"file_format": "{asctime} {levelname} | {prefix}{message}",
|
||||
"file_encoding": "utf-8",
|
||||
"enable_console": true,
|
||||
"enable_file": true,
|
||||
"console_color": true,
|
||||
"console_level": "INFO",
|
||||
"console_format": "{asctime} | {levelname} | {prefix} {message}",
|
||||
"console_level": "DEBUG",
|
||||
"console_format": "{asctime} {levelname} | {prefix}{message}",
|
||||
"console_prefix": "Auto",
|
||||
"console_encoding": "utf-8",
|
||||
"date_format": "%Y-%m-%d %H:%M:%S",
|
||||
@ -18,5 +18,12 @@
|
||||
"WARN": "WARN",
|
||||
"ERRO": "ERRO",
|
||||
"CRIT": "CRIT"
|
||||
},
|
||||
"level_color": {
|
||||
"DEBUG": "#c1d5ff",
|
||||
"INFO": "#c1f8ff",
|
||||
"WARN": "#fff600",
|
||||
"ERRO": "#ffa000",
|
||||
"CRIT": "#ff8181"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user