A javascript logger object to log to firebug console, html or null.

Here is a simple object which can be used to log message on the browser side (useful for debugging).  It was inspired by Python's logger, though isn't as feature rich.