mirror of
https://github.com/Nanaloveyuki/py-logiliteal.git
synced 2025-09-05 19:16:22 +00:00
✨ 添加了config
读取,写入,重置功能
This commit is contained in:
22
config.json
Normal file
22
config.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"file_level": "DEBUG",
|
||||
"file_name": "pliblog.log",
|
||||
"file_path": "./",
|
||||
"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_prefix": "Auto",
|
||||
"console_encoding": "utf-8",
|
||||
"date_format": "%Y-%m-%d %H:%M:%S",
|
||||
"level_name": {
|
||||
"DEBUG": "DEBUG",
|
||||
"INFO": "INFO",
|
||||
"WARN": "WARN",
|
||||
"ERRO": "ERRO",
|
||||
"CRIT": "CRIT"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user