I have developed a small utility library, which helps with managing logging of your JavaScript applications.
Here are some features it supports:
Turn logging on and off
Support for Firebug console and log4javascript
Redefine console.log, console.warn, … (all console logging methods) through methods from log4javascript, if console is not detected
All you have to do is to keep on logging [...]