Alex Rivera | Logout

What happened to console.log in IE8?

Asked 2009-03-27T15:34:57.147
257

According to this post it was in the beta, but it's not in the release?

Edit
Report

2 Answers

8

If you get "undefined" to all of your console.log calls, that probably means you still have an old firebuglite loaded (firebug.js). It will override all the valid functions of IE8's console.log even though they do exist. This is what happened to me anyway.

Check for other code overriding the console object.

answered 2009-10-20T19:56:09.957
2
if (window.console && 'function' === typeof window.console.log) {
    window.console.log(o);
}
answered 2011-04-01T13:50:18.187

Your Answer