preserve simple and detail logs
This commit is contained in:
1 parent
f07fbb305b
commit
5e2ca0587b
4 files changed
+190
-62
No files matched your search
@@ -142,6 +142,16 @@ def get_log_file_path() -> str:
|
||||
return os.path.join(PROJECT_ROOT, "logs", "unified.log")
|
||||
|
||||
|
||||
def get_simple_log_path() -> str:
|
||||
"""返回简洁日志文件的路径"""
|
||||
return os.path.join(PROJECT_ROOT, "logs", "simple.log")
|
||||
|
||||
|
||||
def get_detail_log_path() -> str:
|
||||
"""返回详细日志文件的路径"""
|
||||
return os.path.join(PROJECT_ROOT, "logs", "detail.log")
|
||||
|
||||
|
||||
def get_actions_log_path() -> str:
|
||||
"""返回行为日志文件 (actions.log) 的路径"""
|
||||
return os.path.join(PROJECT_ROOT, "logs", "actions.log")
|
||||
|
||||
Reference in new issue
Block a user