Logger.logでは省略されるログをStackdriver Loggingで出せることを知ったので備忘録として書き残しておきます。
※この記事を書いた後に仕様変更があり、新しく作られたスクリプトプロジェクトからStackdriverのログに直接アクセスするには、標準のGCPプロジェクトを使用する必要があるようです。
Stackdriver logs are attached to the GCP project associated with your Apps Script. You can view a simplified version of these logs in the Apps Script dashboard. To make full use of Stackdriver Logging and its capabilities, use a standard GCP project with your script project. This lets you access Stackdriver logs directly in the GCP Console and gives you more viewing and filtering options.
using_stackdriver_logging
コード.gs内でconsole.log("出したいログ")を書いて
表示>Stackdriver Loggingを開くと
このようにログを出せる
補足
- Logger.log()でもログに出せますが長いと省略される
 - Stackdriver Loggingを知る以前はGoogleドライブに書き出したりしていました
 
コード.gs
function myFunction() {
  console.log("出したいログ");
}
 | 
参考
Logging > Stackdriver Logging
https://developers.google.com/apps-script/guides/logging#stackdriver_logging
Stackdriver Logging Documentation
https://cloud.google.com/logging/docs/
Class console
https://developers.google.com/apps-script/reference/base/console
Quotas and Limits > Stackdriver Logging API quotas and limits
https://cloud.google.com/logging/quotas


