本帖最后由 懒人精灵03 于 2021-9-13 20:55 编辑
print(“你好”)
writeLog("你好")
两者用法一样,只不过writeLog是直接记录在日志上,相关的Log文件路径就是你发布成脚本时的应用包名 名称
a=1
if a==1 then
print("找到")
sleep(100)
-------------------------------------------
writeLog("找到")
sleep(100)
else
print("没找到")
sleep(100)
-------------------------------------------
writeLog("没找到")
sleep(100)
end
|