log function that works across all browsers
So I purchased an early release copy of Secrets of the JavaScript Ninja by John Resig. One of the first things I came across in it is a logging function that is compatible on Chrome, Firefox, Safari, Opera and IE. It works great! No more forgetting about console.log functions that break IE: