1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【GAS】ログの色を変更したい

Last updated at Posted at 2023-01-26

はじめに

インターン先でGASを使用して社内ツールを作成する機会がありました。
ログが見にくいなと思い、ログに色をつけることはできないか調べたところ方法があったので記録しておきます。

やりかた

// 白
console.log("白色です")
// 黄
console.warn("黄色です")
// 赤
console.error("赤色です")

おわり

ログが見やすくなりました!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?