【问题标题】:What is the difference between **Apps Script Dashboard** and **view | executions**?**Apps Script Dashboard** 和 **view | 有什么区别?处决**?
【发布时间】:2020-11-16 15:30:10
【问题描述】:

使用 V8,我在脚本中编写了 console.log("whatever"),运行后选择 View | Stackdriver 日志记录。然后我收到警报

现在可以在仪表板中查看此项目的 Stackdriver 日志 在 Apps 脚本仪表板中。

如果您想在 Google Cloud Platform 中查看这些日志,您将 需要为此脚本设置不同的项目。

Apps Script Dashboard”是查看执行的链接,通常是我使用 console.log 编写的任何内容。

日志并不总是存在于执行实例中。我注意到有时会有很大的时间延迟。在这些情况下,我使用 SlidesApp.getUi().alert("whatever") 因为“谁有时间?”。

如何直接转到 Apps 脚本仪表板,而不转到警报并选择链接。

我现在已经切换到 Logger.log(whatever) 并转到 view |处决。仍然偶尔会有相当长的时间延迟。

Apps Script Dashboardview有什么区别?处决

console.log 和 Logger.log 有什么区别?

类似于Why does Logger.log statements not show up in Logs?

【问题讨论】:

  • 没什么。

标签: google-apps-script


【解决方案1】:

问题

如何在不转到警报和选择链接的情况下直接转到 Apps 脚本仪表板。

转到https://script.google.com。然后从 导航到您项目的相应执行页面。

Apps Script Dashboard 和 view 有什么区别 |处决?

什么都没有

console.log 和 Logger.log 有什么区别?

Logger.log 较旧,console.log 较新,除此之外,在使用 Chrome V8 时,什么都没有。

【讨论】:

  • 非常感谢鲁本。随着软件的不断变化,在线创建了如此多的示例。我敢肯定,我经常捡起过时的想法。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-11-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多