最佳答案
您将想要添加到您的代码中
Logger.log("Yes, this was logged");
另请参阅此页面了解更多信息:https://developers.google.com/apps-script/reference/base/logger
关于google-apps-script - 我如何 "Use Logger API to add logs to your project"? (谷歌脚本),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44846833/