提交 0b783d5c 编写于 作者: P prgrmz01@163.com

简化日志输出

上级 f2b4fb90
......@@ -3,7 +3,7 @@
import sys
from typing import List
from datetime import datetime
"""
# $* : -c advice.detachedHead=false clone --depth 1 --branch main https://github.com/frida/glib.git glib
# new_args : -c advice.detachedHead=false clone --depth 1 --branch main git@gitcode.net/dependency/frida/glib.git glib
......@@ -39,5 +39,6 @@ with open(outArgsFilePath, "w", encoding="utf8") as outArgsFile:
outArgsFile.write(newOutArgs)
logF.write(f"inArgsFilePath[{inArgsFilePath}],outArgsFilePath[{outArgsFilePath}],inArgList[{inArgList}],newOutArgs:[{newOutArgs}]")
now:str=datetime.now().strftime('%Y-%m-%d %H:%M:%S')
logF.write(f"{now} : {inArgList} ---> {newOutArgs}")
logF.close()
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册