ignore firebug console when not installed

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2010-01-14T00:17:27Z Indexed on 2010/04/29 9:57 UTC
Read the original article Hit count: 420

I use Firebug's console.log() for debugging my website. If I try viewing my website in browsers without Firebug then I get a console is not defined error. Is there a way to gracefully avoid this error?

I found this potential solution, but it seems a bit cumbersome. And ideas?

© Stack Overflow or respective owner

Related posts about firebug

Related posts about console