JavaScript Console API – Browser Differences

Recently I was asked by a client to if using console.log() would be appropriate in enterprise web applications.

Not everyone agrees with me, but my opinion is simple: Production applications should rarely, if ever, use the console API. I don’t think these statements should ever be checked into version control – they clutter your code, and ultimately make debugging more difficult (because you have to ignore console messages unrelated to a given problem).

Additionally, I have seen errors reported in Internet Explorer by the console object – runtime errors that are in effect bugs in your code.

We went on to discuss the console API and how it offers more than just the standard console.log() method. That got me thinking… even though the major browsers seem to support a consistent console API, are there any actual differences in the implementations?