log update 02

This commit is contained in:
13339479676 2022-01-15 15:43:23 +08:00
parent ef87376505
commit a4e44bf6be
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ def is_logSuffix(logName):
print(f'日志格式不正确!程序结束!') print(f'日志格式不正确!程序结束!')
sys.exit() # 结束程序 sys.exit() # 结束程序
# 日志管理 # 日志管理
def log_management(logContent, logName, logSaveMode): def log_management(logContent, logName, logSaveMode):
ROOT_PATH = sys.path[0] # 项目根目录 ROOT_PATH = sys.path[0] # 项目根目录