5
4

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 5 years have passed since last update.

IE(開発者ツール)でのコンソールログ

Last updated at Posted at 2014-01-30

chromeやら、他のブラウザは「console.log」でconsole APIが使える。

で、IEは動かないのでいろんなサイトを見たけど、使えないって情報しかない。

とりあえずIE11では「console.info」でconsole.logと同等の事が出来た。
他のバージョンは不明。

クロスブラウザを前提にするなら、処理を分けねばならない?
オリジナルのラッパーを作るのが良さげ。

chromeはconsole.infoが使えるみたい。
いちいち調べるのがまずめんどくさい...

5
4
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
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?